Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: FPS TROUBLE (ima noob) [Re: the_mehmaster] #273033
06/21/09 02:53
06/21/09 02:53

R
ricky5564 OP
Unregistered
ricky5564 OP
Unregistered
R



better?

Re: FPS TROUBLE (ima noob) [Re: Damocles_] #273034
06/21/09 02:53
06/21/09 02:53

R
ricky5564 OP
Unregistered
ricky5564 OP
Unregistered
R



better

Re: FPS TROUBLE (ima noob) [Re: ] #273057
06/21/09 08:05
06/21/09 08:05
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline
Expert
Damocles_  Offline
Expert

Joined: Feb 2009
Posts: 2,154
yes, thats a better form

Re: FPS TROUBLE (ima noob) [Re: Damocles_] #273059
06/21/09 08:08
06/21/09 08:08
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline
User
the_mehmaster  Offline
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
Much, much better. Continue writing like that and you'll get a load more replies

Re: FPS TROUBLE (ima noob) [Re: ] #273123
06/21/09 14:10
06/21/09 14:10

R
ricky5564 OP
Unregistered
ricky5564 OP
Unregistered
R



Ok, all problems are fixed with this post PLEASE POST A RESPONSE TO THE POST AND NOT THE PEOPLE WHO HELPED ME FIX IT

Re: FPS TROUBLE (ima noob) [Re: Damocles_] #273124
06/21/09 14:10
06/21/09 14:10

R
ricky5564 OP
Unregistered
ricky5564 OP
Unregistered
R



oh and ummm.. well do u know any of the answers for those questions?

Re: FPS TROUBLE (ima noob) [Re: ] #273129
06/21/09 15:13
06/21/09 15:13
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline
Expert
Damocles_  Offline
Expert

Joined: Feb 2009
Posts: 2,154
I can give you some plain text answers / concepts on that,
I dont have the time now to look for the specific code.
But you should definitely look at the AUM Magazin examples,
as you are a beginner.



1, how to have the character move, while the characters
run animation was playing.


-you need to first get your code to recognize your player,
so you have to write an ACTION function for it.
Can be assigned in WED to the player mode.
-in it you need a loop, where you grab the keyinputs
for when to move.
-use cmove functions to move the player
-use an ent_animate function to play an animation
(standig, walking etc, can be created in MED,)

2, how to have the camera stay behind the character while
the character is walking

-look in the AUM magazon for examples, I would suggest
that you use a first person camera first, as it is
easier to implement.


3, how to attach the gun to the characters arms


-there are several ways to do that.
either the gun is a part of the players model,
or it is using the players animations, and is attached to his arm (the player beeing cut out, just leaving the gun in the
animation)
-or you look for a vertex at the players hand, and
dynamically attach it to that player (is more complicated to code)

4, how to have the bullet shoot from the gun


there are two basic concepts:
either you make a trace from the gun to the targetposition,
and let the bullet hit at the trace-intersections
or you actually create a bulletmode and move to.
In both cases you need to learn how to calculate rotations,
and where to get the start and target-positions for the bullet from
-and how to handle the impacts of the bullets


5, how to have the enemy walk to the character and shoot
when the character gets to a certin distance

this is AI.
A very simple version would be to make the enemy turn toward the player, walk forward,
and shoot when the distance is close enough. (thats about as complex as most AI here is programmed anyhow)


6, how to make it so if the character hits the enemy
about 20 times and the enemy will play the die animation
and then fade away

each impact affects an enemies character skill, if that skill
is zero, the enemy plays the die animation and then "deactivates" or gets removed

7, how to make a health bar for the character

look into how panels work in the manual.
The health bar is just a way to display data in a panel.

8, Finally, how to change levels when the character
hits an object

-> level_load
your code must decide, when to do that action.


-----------------

Noone will write a comple code for you,
but there is plenty of code floating around in tutorials, AUM, workshops and free demos.
The templates are supposed to get you a quick start on
exactly these issues. So try to work into them.

especially learn how to find info in the manual,
it your best friend in the long run.


Re: FPS TROUBLE (ima noob) [Re: Damocles_] #273134
06/21/09 15:33
06/21/09 15:33
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Hi Ricky,
To code a game is not so easy. Start with small steps in your Project. I make the same, if i starts with 3dgs i have my Player in a map. After that i try to move the Player (the first time more than one week to code that). After that comes the Camera and so on. You can have a big game in your head, but realise it Step by Step ! And if you have finished one step you feel good. Maybe later if your game would be more complex you have to change one of your steps...

Re: FPS TROUBLE (ima noob) [Re: Damocles_] #273151
06/21/09 17:40
06/21/09 17:40

R
ricky5564 OP
Unregistered
ricky5564 OP
Unregistered
R



THANK YOU SOOOOOOOO MUCH I that helped me A LOT

Last edited by ricky5564; 06/21/09 20:56.
Re: FPS TROUBLE (ima noob) [Re: ] #273163
06/21/09 18:48
06/21/09 18:48
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline
Serious User
darkinferno  Offline
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
Originally Posted By: ricky5564
THANK YOU SOOOOOOOO MUCH I that helped me A LOT.... thank you thank you thank you omg how can i thank you some more
ummmm.. dont over did it.. am sure thats thanks enough.. almost got a little creepy...

Page 2 of 3 1 2 3

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1