The blue line should be the time left until the demo exits, you only have 2 minutes to test your game. That one will be gone together with the demo sign when you buy the licence
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuLOCAL Y = 25
WHILE TRUE
IF X > Y
INC X, 5
ENDIF
SHOWSCREEN
WEND
This makes your code much easier to read and will save you lots of headache later on :-)
// IDE Version: 5.037
GLOBAL sx,sy,width
GETSCREENSIZE sx, sy
width = 40
// This gets the wrong result
GLOBAL y1 = sx / width
DEBUG " y1=" + y1 + " sx=" + sx + " width=" + width + "\n"
// If I do the same but split the line I get the correct result
GLOBAL y2
y2 = sx / width
DEBUG " y2=" + y2 + " sx=" + sx + " width=" + width + "\n"
GLOBAL x = y / z
If I look into variable x now with debug I get the answer -1.#INDGLOBAL x
x = y / z
I saw you Gernot use the first line in your examples so I started doing this myself and at the last update my game broke down :-)LOADSPRITE "picture1.png", 1
LOADSPRITE "picture2.png", 2
LOADSPRITE "picture3.png", 3
WHILE TRUE
DRAWSPRITE 1, 0, 0
SHOWSCREEN
DRAWSPRITE 2, 0, 0
SHOWSCREEN
DRAWSPRITE 3, 0, 0
SHOWSCREEN
WEND
No need to clear the screen inbetween, unless you realy want a black screen between the pictures.