frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Game turned crazy. My character turned into a red (FF0000) square?!

edited July 5 in Bugs
http://www.flowlab.io/game/play/560751 My game (Explorer 1: Wrong Door) have some issues with positions. First, when you use "Next Level" behavior, player spawns in wrong place, whatever this might be because of checkpoint system but the behavior "position" works wrong. If you want to test position behavior, just go level named "boss fight". @grazer Is it my fault or are there some kind of bug?

EDIT: @Grazer all of my behaviors... 1-Fight Boss or 1- Fight Ghost, i dont remember but its all behaviors are gone.. Can you take it back? @grazer
EDIT 2: @grazer Now my character turned into a red square (FF0000) and its animations turned into green square (00FF00). And all these EDIT 2's problems started after I pasted my copy of my "Fast or slow" named bundle's behaviors. First, it gave a error "Invalid Behavior Data" then it really pasted it, and this happened:Adsız
2
The code i pasted: https://justpaste.it/18lmo
I think FF0000 and 00FF00 are special numbers, why?
2
2
Because their RGB numbers are special. Look at this, both includes 255, the most glitchy number in game history. The biggest number 8-bit digits can show us. So this might be a (my main language isnt english so this word might be wrong--->) underflow. C'mon @grazer i gave you a ton of hint. Fix that!

Comments

  • One more: In animations, you shouldnt be able to change the size of animation. Whatever if you upload a big sized sprite, all other sprites of that object gets corrupted. Also this happens if you upload big sprite at main screen and go animmations, you see animations corrupted again. For more description, Corrupted = Green, 00FF00. I remember this happened to @Luminous700 too.
  • edited July 5
    Pls fix these :angry:
  • edited July 5
    @olcayolcayolcay2
    Give him some time....

    Anyway, so the reason is I believe, is that the engine isn't fully communicating to the server, so when an object deletes, the server doesn't know, and reinserts it back into the game afterward. However the reason it comes up red is because the server thinks there's still an object, so it expects a sprite to be assigned to it.

    This also happened to me when I changed a certain enemy's name. The server didn't recognize the name change so when I come back to it there's a new object with the new name- no behaviors. And the old object with the red sprite- and the behaviors were still there but didn't show.
  • Hey @olcayolcayolcay2 - I'll take a look at this and see if I can figure out what's going on.

    You are correct that the colors are significant. All red (FF0000) is the color used when a sprite cannot be found on the server for an object. All green (00FF00) is the color used when a sprite animation frame cannot be found.
  • And my game was about to finish ;'/
  • edited July 7
    @grazer Did you figured it out? :(
  • @grazer when will you reply? i dont want to see red and green boxes anymore.
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

[email protected]

Get In Touch