MateoConLechuga wrote:
xlibman wrote:
I wanted to update the game since it only works with C libs released before October 2017.

Can you expand on this a bit more? The C libraries are backwards compatible across all versions, so this seems like a case where the API might not be being used correctly by the ICE compiler?


On the possum's game's title screen, text and rectangles are displayed with the wrong colors for the most part and when the game starts the opossum's mood is always "Satanic Mad" instead of picking randomly between 6 different moods (with Satanic Mad being the 5th).

The weird part is that text/shape discoloring only seem to happen on the title screen and not anywhere else.


Code:
Lbl TI
[i]Displays title screen content
FillScreen(B+111
SetColor(248-B
FillRectangle(0,14,160,88
FillRectangle(160,14,160,88
SetColor(255
FillRectangle(0,18,160,80
FillRectangle(160,18,160,80
ScaledSprite_NoClip(1,66,20,2,2
TransparentSprite_NoClip(4,120,108
SetTextFGColor(9+B
PrintStringXY("Press anykey!",58,160
SetTextFGColor(B
PrintStringXY("(c)2016 It RPG Is!",16,208
PrintStringXY("http://codewalr.us",16,224



Code:
   [i]Possum mood rand, score, meter, mood spd list, mood spd cache(2), anim frame
   rand/2800000->R
   0->P
   77->E
   385->F
   {8,3,4,2,7,5,4,7,5,6,20,5->L1
   L1(R->L
   L1(R+6->M
   0->U
   [i]Var increment timers
   0->T
   0->S
   0->V
   SetTextFGColor(255
   PrintStringXY("Possum's ",0,0
   If R=0
      PrintString("hyper"
   End
   If R=1
      PrintString("grumpy"
   End
   If R=2
      PrintString("feelin good"
   End
   If R=3
      PrintString("sleepy"
   End
   If R=4
      PrintString("satanic mad"
   End
   If R=5
      PrintString("scared"
   End
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 33 of 33
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement