it will be a little bit longer than 20 minutes, sorry. but if anyone can help me figure out how to make the zombie more life like, I could have that done for the first release. whoever helps me, I will give credit to.
and btw, @hamjam00 , how about we just use my 2SHOOTER game for jungle recon? We can make the custom backgrounds with sprites and stuff? I did it. I have all the scaling and touch commands working JUST RIGHT. I think that would be more fun if we had a "First person shooter" as jungle recon. btw (again) 2SHOOTER means SHOOTER v.2
one more thing, how do you scale, offset, and set the home of custom sprites "SPU0:GRASSBLK"
yes, I am working on a first person shooter and a 2-d or 3-d minecraft game. the 3d version of minecraft would just be a modded version of my first person shooter.
2SHOOTER buglist:
when you scope and the target is on the enemy, it flickers orange, not a steady red.
the controls are just a little bit weird, with the touch screen as the "Looker-arounder" and the d-pad as the forward and back.
you can only side step, and when you let go of the button, you return to the center of the screen
I had to double the code in order to be able to apply it to each 'page.' Further, I had to disable and then re-enable SYSBEEP in order to prevent the loading noise from playing while loading the game and the font:
I have this cool game with no name, but I am trying to make a menu.
However, GAME2 has a menu so I looked at the scripting and I guess they made a @MENUSEL. How do Make one so it has a finger pointing to the menu and you can move it up and down and select stuff like in GAME2? Also, I made an "attack" (A.K.A.
LOAD"SPU0:STAR2",FALSE
SPSET 0,LOCATION,0,0,0,0,16,16
SPREAD(0),X,Y
SPOFS 0,X+128,Y,60
WAIT (60)
LOAD"CHAR1",FALSE
GOTO @LOOP)
which is basically charging as a little star towards thy foe. I am planning to make a health system, if I used this code and I did something like LUA 5.2:
ONTOUCH
SPU0:CHAR2, HP-10
would it work? Or does it work differently? Thanks,
WEEGEE OVER 9000 DOCTOR OCTOGONAPUS BLARGH!
Menu: The menu usaly uses the 'Button' comand. Remember, the joystick is, in reality, one big button. Exactly how...I realy do not know. I sergest lissening to the PetitProfesor tutorials over on YouTube.
There...you got an answer. Stop whining and start reading people's code. You might learn something.
The d pad is actually just four buttons: up, doown, left and right... If you make a menu, you'll probably want to use up and down to move the cursor.
Up and down are 1 and 2 when you use BUTTON(), so you just need to check when the user presses button 1 or 2 and then tell the game to act accordingly.
Example: @menu
Vsinc 1
If button(2)==1 then gosub @mup
If button(2)==2 then gosub @mdown
If button(2)==16 then gosub @ma
Goto @menu
Just a suggestion, but I think it would be best to store the button state in a variable once per vsync and use the variable instead of using the button state multiple times.
Discostew
3DS Friend Code: 4425-1477-0127 | Nintendo Network ID: Discostew
Sorry everyone, but I just got grounded. I am renaming 2SHOOTER to HALODS. It has a shotgun, sniper rifle, assault rifle, and magnum (pistol). It will have (hopefully) health packs and player positioning (if the x coordinate and y coordinate of the player is where the enemy was killed, you can use it to pick up the gun.) the controls are hardish, as the touch screen lets you look around, the dpad moves you, and the L button shoots.
So, I think I have figured out how to make the zombie(s) more life like. Any help would still be nice. My idea is this:
'When you move any direction, it changes PLAYX and PLAYY
If PLAYX>=128 then x2=x2+PLAYX
If PLAYY>=95 then y2=y2+PLAYY
If PLAYX<=128 then x2=x2-PLAYX
If PLAYY<=95 then y2=y2-PLAYY
'X2 is the x coordinate of the zombie/grunt and y2 is the y coordinate of it.
I also am trying to find out how to make a "room". I want it to be realistic, but still like halo.
Edit: can someone please teach me how to use the DATA and READ commands?
Hi everyone, just made a PTC app wanted to broadcast it; it is a timer and a stopwatch! For free and it can't (realistically) break! Here's the link to the video with the link in the description to a mediafire download which has the QR codes in it.
I also am trying to find out how to make a "room". I want it to be realistic, but still like halo.
Edit: can someone please teach me how to use the DATA and READ commands?
Well bigdog00, I am also new at PTC so I don't know what "read" is but DATA can be used for things like music, tiles etc. Example of a piece of music (don't know how to make tiles XD)
DATA ":0@1T120O4"
DATA "C8D8E8F8"
'This will play (quarter) notes C, D, E and F. 4 is for halfnote, 2 for whole, 1 for whole-tie, underscore for statacco, > and < for octave adjustment, & for tie/slur, etc
Ask the pros for more help
I also am trying to find out how to make a "room". I want it to be realistic, but still like halo.
Edit: can someone please teach me how to use the DATA and READ commands?
Well bigdog00, I am also new at PTC so I don't know what "read" is but DATA can be used for things like music, tiles etc. Example of a piece of music (don't know how to make tiles XD)
DATA ":0@1T120O4"
DATA "C8D8E8F8"
'This will play (quarter) notes C, D, E and F. 4 is for halfnote, 2 for whole, 1 for whole-tie, underscore for statacco, > and < for octave adjustment, & for tie/slur, etc
Ask the pros for more help
READ is used to read the DATA. It is needed in most cases, but MML is an exception. You can place many variables in one line through DATA.
Forums
Topic: Petit Computer
Posts 1,081 to 1,100 of 9,620
Please login or sign up to reply to this topic