Posts | ||
---|---|---|
Having some trouble with this code. | Locked | |
Thread Options | ||
Jan 31 2015 Anchor | ||
So...This is some code that I tried to code on my own for a sort of side project where...I'm honestly too embarrassed by the idea to describe it here, so I'll just present my problem. The actual formulas aren't in there yet, but I was wondering if someone could tell me these three things: var names; var randomnumber = Math.floor(Math.random(10)*10); var selectedmonster; var battle = 1; var m var playerturn = 1; var m while (playerturn == 1){ <form action="game_unkown.html" method="get"> playerturn = 0; m playerturn = 1; m if (selectedmonster.hp < 0){ m if (Mina.hp < 0){ if (Mina.mu < 0){ if (selectedmonster.mu < 0){ m -- Current project: ??? |
||
Apr 1 2015 Anchor | ||
1. Do you mean screen buttons or keyboard keys/mouse? Which engine do you use? Unity? |
||
|
Apr 1 2015 Anchor | |
as it's HTML you would print something along the lines. This is what you do between your statements for displaying the correct HTML. -- Greenlight Games Ltd |
Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.