To display background tiles on the touchscreen, all you need to do is use the BGPAGE command.
With BGPAGE you can toggle between 0 (top screen) and 1 (touchscreen), so to use the touchscreen just type BGPAGE 1 and use the same BG commands you would use for the top screen.
Just don't forget to change back to the top screen if you want to use it again.
The other graphical command types also have their own version of the PAGE command.
@hamjam00 and I are working on a Word+Slideshow application and I was Wondering he and I had a debate about what should we should call the PowerPoint, graphic sheet or slide sheet. Please answer and we will decide what to call it the sooner you answer the quicker the QR codes will be up. Thanks! Also, I am thinking about making an os/GAME LAUNCHER themed after PSP/PS3. Tell me what you think.
Hey, anybody know how to make something move towards a coordinate with 2 variables (x,y)? An idea I had for rpg in progress; Battlewood, is an aiming system by the touch screen. I already have the cursor movement (tchx=cursorx,thcy=cursory) <-- not BASIC. but I want the bullet to "come" from the protagonist and move towards cursor x and y. Is there an easy way to do it or do I have to use algebra equations? @damolii That was for moving the character with the d-pad and that was abbreviated code. Would you like me to create a program demonstrating this? I'll be glad to help.
@bluerobin2 thx for the offer, but i already know how to move the player. what i am asking is how to make the opponent character move in a circular motion without stopping. thx though :^/
I don't have a 3DS so what do I put here? -Damolii
Hey, anybody know how to make something move towards a coordinate with 2 variables (x,y)? An idea I had for rpg in progress; Battlewood, is an aiming system by the touch screen. I already have the cursor movement (tchx=cursorx,thcy=cursory) <-- not BASIC. but I want the bullet to "come" from the protagonist and move towards cursor x and y. Is there an easy way to do it or do I have to use algebra equations?
@bluerobin2 thx for the offer, but i already know how to move the player. what i am asking is how to make the opponent character move in a circular motion without stopping. thx though :^/
Why didn't you ask that in the first place? There are so many different ways to read your question, and you should be specific on your questions so we can help you better. Anyway, there's no built-in way to do circular motion automatically. You have to do it the hard way. You need to update the opponent character frame-by-frame. Try using Polar Coordinates: x=RcosTheta. y=RsinTheta. The Trigonometry section on said blog post should help you.
Hey, anybody know how to make something move towards a coordinate with 2 variables (x,y)? An idea I had for rpg in progress; Battlewood, is an aiming system by the touch screen. I already have the cursor movement (tchx=cursorx,thcy=cursory) <-- not BASIC. but I want the bullet to "come" from the protagonist and move towards cursor x and y. Is there an easy way to do it or do I have to use algebra equations?
Just set the timer option. It doesn't matter where the bullet is from. Read my Asteroid blog post, and check out my bullets coding. Look under @FIRE subroutine.
@bl0x0r3303 You obviously did not read previous comments on this thread. I don't mean to be rude but you can't ask something so out there. Ask something like "How do I make text appear?" "What are variables?" etc, etc. Here is my answer:
print "hello world"
Also for some great tutorials, check out youtube.com/petitprofessor (Not my channel) I found it very helpful.
I just discovered this: to get rid of the annoying load sound say sysbeep 0 (or 1 i forgot) somewhere in the beginning of your code. @morphtroid this might help for a future update of petit farm. awesome game though. loving it.
Ramstrong means his own blog (which you can find on his signature), it's a good place to learn so visit it.
@robin: i wouldn't call it an RPG, but it is shaping nicely, thank you for asking
@bloxor: sorry but I'm afraid I'm a terrible teacher, why don't you visit ramstrong's blog too? Visiting the tutorial thread is also a good place to start.
@ramstrong I read your trigonometry journal, but i did not see the part that corresponds to my question. Sorry.....
@bluerobin2 why are you using two SPHITSP? one is good for two specific sprites. like if you did sphitsp(2,3), even if the 3 was the one that collided, it would still count as if 2 had collided.
Forums
Topic: Petit Computer
Posts 1,441 to 1,460 of 9,620
Please login or sign up to reply to this topic