Fires of Heaven Guild Message Board  

Go Back   Fires of Heaven Guild Message Board > Fires of Heaven Related Forums > Uberworlds Development Forum
User Name
Password
ForumSpy Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 03-05-2008, 07:46 PM   #46 (permalink)
Kharza-kzad
Registered User
 
Join Date: Jun 2005
Posts: 132
+0 Internets
You might consider the observer pattern for input stuff. You can have any object register to any input stuff they are interested in, like the A button for instance.

When the A button is hit, it goes through the list of who is interested and calls their method, so it's kindof event driven. It's good for networking stuff too. There's observer stuff built in to C# as well.

Included a picture of a test map I downloaded somewhere in my tool. It's a bsp builder but I also draw everything to help me spot problems.
Attached Images
 
Kharza-kzad is offline   Reply With Quote
Old 03-05-2008, 09:08 PM   #47 (permalink)
Cloud9_
Registered User
 
Join Date: Jul 2002
Location: Los Angeles California
Posts: 188
-1 Internets
Send a message via ICQ to Cloud9_
I have all my input in a InputHelper.cs class.. basically static bools that say if a key is being pressed or not.

http://shackRPG.googlecode.com/files/InputHelper.cs

thats the input helper I've used for a few very basic projects, its being expanded for my RPG
Cloud9_ is offline   Reply With Quote
Old 03-06-2008, 10:37 PM   #48 (permalink)
Cloud9_
Registered User
 
Join Date: Jul 2002
Location: Los Angeles California
Posts: 188
-1 Internets
Send a message via ICQ to Cloud9_
state stacking is soooo much easier than the way I've been doing things.. Kinda messed around with a few ideas and I'm not sure if the way I'm doing it is entirely the best way (i'll still have to check out unleashed soon) but I'm glad I took the time to re-work my RPG engine with it.
Cloud9_ is offline   Reply With Quote
Old 03-07-2008, 09:41 PM   #49 (permalink)
Zarcath
You People?
 
Zarcath's Avatar
 
Join Date: Jan 2004
Location: Hawaii
Posts: 4,733
+5 Internets
so...Torque X uses XNA?
__________________
Zarcath - AoC Deathwhisper < Mammaries or Lament > send tell for invite
Zarcath is offline   Reply With Quote
Old 03-08-2008, 02:19 AM   #50 (permalink)
Kharza-kzad
Registered User
 
Join Date: Jun 2005
Posts: 132
+0 Internets
Yea torque x is kindof like a gamebuilder light that works on top of XNA. I haven't seen it in awhile, but I messed around with the earliest build last year on XNA 1.

I don't know if they have since added 3D, or if all the missing stuff from gamebuilder was put in. The build I had didn't support some of the keyed sprite pages in a single png that gamebuilder did. I ended up writing my own map builder because of these limitations, but I never did anything with it.
Kharza-kzad is offline   Reply With Quote
Old 03-10-2008, 12:25 PM   #51 (permalink)
Cloud9_
Registered User
 
Join Date: Jul 2002
Location: Los Angeles California
Posts: 188
-1 Internets
Send a message via ICQ to Cloud9_
if someone wanted to play an XNA game that I made, all I'd have to do is build a 'release build', package it up as a creators club file, and send them the "NameOfFile-Windows" XNA creators club file .... right?
Cloud9_ is offline   Reply With Quote
Old 03-10-2008, 04:28 PM   #52 (permalink)
Hake
Froggies of Paradise
 
Join Date: May 2006
Location: Paris
Posts: 32
They are a few different approach to sending your game to someone else but if you want it to be playable on windows, you could :

- Launch Visual, then start your solution / project. In the build menu, select : Package [projectName] as XNA Creator Club Game.

Then this package is created in your bin directory of the current configuration mode (debug, release, etc.) with extension .cggame

You can send this file, and if someone else wants to run the game, the person "Must have XNA Game Studio installed". Your friends will only have to double click on the .cggame file, it will unpack and show a folder with your .exe

If you are making an X360 game, then the other person as well "Must have an active membership in the XNA Creators Club".

If you want more detailed information, you can check :

Sharing Your Game Package

Have fun
Hake is offline   Reply With Quote
Old 03-15-2008, 02:33 PM   #53 (permalink)
Cloud9_
Registered User
 
Join Date: Jul 2002
Location: Los Angeles California
Posts: 188
-1 Internets
Send a message via ICQ to Cloud9_
Just an update for anyone who is interested, I've got a lot more done with my game engine... so I made a 50 second video just showing walking on a map "map" (the tile engine is not loaded in this bulid, the map is just a background) and launching a battle.

YouTube - XNA RPG Project Tech Demo

I'm currently cleaning up the battle to add 'pauses' when needed (loading, victory screen, etc) and eventually i'll have to change things up, but the basic idea is there and it 'feels' like a JRPG which was what i was aiming for.

Tech demo code can be found:
shackrpg - Google Code

The ShackRPG at the bottom of hte list (r5) is the most current.

I need help with managing an inventory system, was gonna leave it out for the first build of the game... but how could you not have a JRPG without an inv
Cloud9_ is offline   Reply With Quote
Old 03-25-2008, 05:15 PM   #54 (permalink)
Froofy-D
upper management material
 
Froofy-D's Avatar
 
Join Date: Nov 2002
Location: Orlando, FL
Posts: 1,887
+0 Internets
Hey that looks pretty cool Cloud. Will be twice as cool with sound.

Anyway this thread is keeping me motivated hehe. My Space/Diablo game is coming along. Now have multiple player models, starfields, galaxies, asteroid fields with collision detection, ship projectiles, a simple damage system, projectile impact effects, explosions, and sound effects.

Right now you can only beat up asteroids. Enemy ships are next on the list.
Attached Images
  
Froofy-D is offline   Reply With Quote
Old 03-25-2008, 09:01 PM   #55 (permalink)
Cloud9_
Registered User
 
Join Date: Jul 2002
Location: Los Angeles California
Posts: 188
-1 Internets
Send a message via ICQ to Cloud9_
sounds awesome... Looks fun
Cloud9_ is offline   Reply With Quote
Old 03-26-2008, 02:07 PM   #56 (permalink)
Saban
Registered User
 
Join Date: Dec 2003
Posts: 1,631
+0 Internets
Any good online tutorials to starting with C# in XNA? The documentation that comes with it isnt do a very good job of explaining how stuff works. The best thing i can do is tinker around with the code to try and change basic things like where the sprite appears, how fast it moves, and how it moves.
__________________
Saban
Keelhaul
Saban is offline   Reply With Quote
Old 03-26-2008, 02:54 PM   #57 (permalink)
Gwen Rockpounder
Registered User
 
Join Date: Apr 2006
Location: Ing-Ger-Land!
Posts: 334
+0 Internets
Quote:
Originally Posted by Saban View Post
Any good online tutorials to starting with C# in XNA? The documentation that comes with it isnt do a very good job of explaining how stuff works. The best thing i can do is tinker around with the code to try and change basic things like where the sprite appears, how fast it moves, and how it moves.
Or to follow on from the above, can anyone recommend some good books to start with the whole C# and/or XNA? I've seen the Unleashed book mentioned a couple of times in the thread but the only programming I've done was 10+ years when I dabbled with plain old C for a while. I have spare time at the moment and trying something like this would seem a better use of my time than getting a fulltime MMO addiction again >.< Thanks!
__________________
General online ADD sufferer >.< FV EQ, "Fazana" US-East Diablo 2.
Gwen Rockpounder is online now   Reply With Quote
Old 03-26-2008, 03:37 PM   #58 (permalink)
Cloud9_
Registered User
 
Join Date: Jul 2002
Location: Los Angeles California
Posts: 188
-1 Internets
Send a message via ICQ to Cloud9_
I've only been programming for about 3 to 4 months... granted i've been doing it a LOT in the last 4 months, but I'll post the things I've read / followed and the steps i took to get to where I'm at after work (in a few hours)
Cloud9_ is offline   Reply With Quote
Old 03-26-2008, 03:50 PM   #59 (permalink)
Saban
Registered User
 
Join Date: Dec 2003
Posts: 1,631
+0 Internets
Yea, theres things this documentation doesn't do a very good job of explaining. I can't figure out for the life of me how to change where a sprite appears, i can't find any numbers to manipulate.

All i see is
Vector2 spritePosition = Vector2.Zero;

Moving text sprite locations was easy enough though.
__________________
Saban
Keelhaul
Saban is offline   Reply With Quote
Old 03-26-2008, 03:54 PM   #60 (permalink)
Cloud9_
Registered User
 
Join Date: Jul 2002
Location: Los Angeles California
Posts: 188
-1 Internets
Send a message via ICQ to Cloud9_
I draw my sprites on rectangles
for example;

rSpriteRectangle = new Rectangle(0,0,40,40)

in the update method;

(current location is the vector2 you mentioned)
rSpriteRectangle.X = CurrentLocation.X
rSpriteRectangle.Y = CurrentLocation.Y

in the draw method

spriteBatch.Begin(SpriteBlendMode.AlphaBlend); <- i use this for transparency
spriteBatch.Draw(tSpriteTexture, rSpriteRectangle, Color.White);
spriteBatch.End();

should work
Cloud9_ is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
uberguilds network



All times are GMT -7. The time now is 09:16 AM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6