Posts Tagged ‘C# XNA’

I’m in!

Posted by
Wednesday, August 24th, 2016 3:58 pm

Hey there!

I’m David from Gamecodeur (an online school to learn gamedev in French).

I’m in, and this time I’ll use Monogame with barely no code to start except a class to display sprites.

(Usually I use Love2D)

I’m in Jam, not compo this time, so my kid will make the graphics assets for me!

What’s that button for ? o_O

Posted by
Thursday, April 24th, 2014 6:07 am

With my friend, we will participate in 72 hour edition of Ludum Dare for the first time.
We’re really excited and curious of theme šŸ˜€

What we will be using :
Code : C#/XNA (with our own framework)
Graphics : GIMP
Sounds and Music : FL Studio and SFXR

Except “Ludum Dare’ing”, we’ll be learning Haskell for our studies šŸ˜€

We will be also streaming atĀ Twitch.

Good luck everyone and have fun šŸ˜€

Coming on nicely I think

Posted by
Sunday, August 26th, 2012 4:18 am

It’s starting to look and feel like a game :) I might even be done on time.

A minigame

 

I’ve ported my XNA game to the web from the last LD!

Posted by
Friday, August 24th, 2012 3:24 pm

Hey everybody, I am in again and will be using:

Language: C#

Libraries/Framework: XNA with some Code from my last LD game (if you are interested, here is the source)

Graphics: Inkscape

Audio: BFXR, Autotracker-C

I will also try to provide a web version of this LD’s game – with the help of JSIL (check it out, this project is amazing! Also if you have a question about porting your game, just leave a comment or write me an email)

Here is the link to the web port of my last game: Click me!Ā (The sound options in the game are not working, sorry for that!)

Project FreeMyWorld semi-complete

Posted by
Sunday, April 22nd, 2012 9:45 am

My first Ludum Dare Compo submission.

Had problems with creativity, so ended up something being shoehorned into the theme.

Link to game:Ā http://www.ludumdare.com/compo/ludum-dare-23/?action=preview&uid=12927

Presenting VDZ’s Basic XNA Sprite Engine

Posted by
Sunday, April 15th, 2012 3:06 pm

Since I didn’t want to rewrite a whole bunch of code next weekend, I decided to tidy up and release this bunch of code.
It’s some helpful code that allows for easy sprite handling in XNA 4.0.

Features
-Easy sprite creation (just CreateSprite(name, position) and it’ll automatically render it from that point on)
-Changing position, scaling, rotation is also easy
-Depth system where deeper sprites are always rendered behind less deep sprites
-Automatically loads the Content/Graphics folder for you so you can just refer to the images by name
-Basic layered sprite support (multiple sprites combining to make one sprite, for example a base body with armor and a weapon overlaid on it)
-Basic animation support
-Licensed under Creative Commons Attribution 3.0 Unported, so you’re free to modify it or use it commercially

Code includes a simple example project.

DLL download link (MediaFire, 7.43 KB)
Source download link with example (MediaFire, 92.74 KB) (Microsoft Visual Studio 2010 solution)

Basic documentation

How it works
-Create a folder ‘Graphics’ with at least 1 image in it in your Content folder. The folder or any of its subfolders must not contain any non-graphic files.
-Put a SpriteFont in your Content folder with the name ‘Default’. It will be used as font for GTexts and the log.
-Call SpriteEngine.Initialize in the constructor of your XNA game class (note that it MUST be in the constructor, NOT in Game.Initialize()), after setting Content.RootDirectory.
-Call SpriteEngine.LoadContent in the LoadContent method of your XNA game class.
-That’s all the initialization it needs. Call SpriteEngine.Draw in your Draw method to actually have it do something. Note that it does not clear the screen for you; keep GraphicsDevice.Clear in there.
-If you want to use animations or ‘camera scrolling’, call SpriteEngine.Update in your Update method.
-From now on you can use SpriteEngine.CreateSprite to create sprites in your game. It returns a sprite object, which you can use to change its position, rotation, image, etc. Use SpriteEngine.EraseGObject to erase a sprite, or SpriteEngine.Nuke to erase everything.

Classes
SpriteEngine – Main class. Most of the functions you need will be in here.
GObject – Base class for displayable objects (Sprites and GTexts). Contains basic information like position, scale and depth.
GText – A displayed string that can be moved around and has a depth, much like a sprite.
Sprite – Class representing a sprite, containing basic information such as its position, images, rotation, scale, etc.
LayeredSprite – A sprite composed of multiple sprites. Uses a simple layer system where when the sprite is drawn, all of its sub-sprites are drawn at its location instead.

Details on what each property and method does can be found in comments in the code, I’m too lazy to type them all out.

License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.
You are free:
* to Share ā€” to copy, distribute and transmit the work
* to Remix ā€” to adapt the work
* to make commercial use of the work
Under the following conditions:
* Attribution ā€” You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Have fun, and good luck with your games.

My Experience With My First LD

Posted by
Thursday, December 29th, 2011 2:57 pm

Hello! I am static_boy123 and I just wanted to share my experience in my first LD, and first game, with others:

I found out about this competition last year when Notch(The maker of Minecraft) enteredĀ Prelude of the Chambered, I immediately said to myself, Ā “I will do this next year.” So now I did it, I entered in my first, but not last, Ludum Dare.

I was watching tv one night when something popped into my mind, the Ludum Dare. I checked the website to see when it was, two hours. I ran to my computer and started memorizing my basic -5 file- library inside and out, after an hour I was able to repeat most of it from memory and the rest, thankfully, wasn’t needed. So I waited the longest hour of my life hoping the theme would be kittens.

Once theĀ competitionĀ finally started I cursed everyone who voted anti-kitten, opened up handy dandy Visual Studio, and got to work. I typed out what I remembered of my library only two classes, but I was able to make a bunch of edits to one to make a new class. I had lots of trouble starting and coming up with ideas for what to do, but I did the basic things, like changing the screen size and creating the controls for moving.

After an hour of sitting and thinking I had an idea, a game that is more based on story than game play, but still has game play. I sat down and started, I added in textures, added a way to shoot, and realized just how inexperienced I am when it comes to game making.

Coding was crazy, I had tons of road blocks; bugs, bugs, and more bugs. I had to go into untraveled land to create the game, and I also spent plenty of time in well worn territory. Overall my game was very fun andĀ frustratingĀ to make, but it was well worth it.

 

Now a list of what was good and what wasn’t:

 

Good Things:

  • It was fun
  • I learned a lot
  • I coded in XNA which I am very comfortable in
  • Everybody was very supportive of my first game
  • I am happy with my work
  • My coding works
  • Others enjoyed my game
  • The ultra great graphics game “Real Life” didn’t distract me that much
Bad Things:
  • My entry has two huge bugs
  • I didn’t get to finish
  • My original texture looked more like a guy masturbating than holding a gun(tip: if this happens move the arm higher on the body and refine the angle :P)
  • It was very frustrating
  • The story wasn’t clear because it wasn’t finished
  • I spent a lot of time doing nothing during the challenge(SLEEEEEEEEP)
Conclusion:
Coding is very fun, but can be frustrating, therefore it is good to have time between each competition. It is also great to get feedback from a good community who knows what you go through to make a game for your first time, because they had to do it themselves.(And it was most likely as crappy as yours) So I would like to thank all who read this, and hope you enjoy my game.
Thanks for reading,
-Static

I’m in and brainstorming

Posted by
Friday, August 19th, 2011 9:42 pm

Thought I’d actually say I’m in since I’ve finally decided to actually do this compo – it is my first… which is both daunting and exciting at the same time.

At first I wasn’t too into the whole ‘Escape’ theme, but once I realized that ‘Escape’ could be anything with a little bit of a back story the ball got rolling.

I’ll be coding in C# and XNA because of the time constraint. I really wanted to use HTML5 and Javascript, but don’t feel I know it well enough to finish a good little game in the allotted time.

I think my game is going to be based on a hat that can camouflage itself on heads of various colors and has to escape… something… by blending in with the heads. There will be more to it of course, but we will have to see what I come up with and what ends up being coded and drawn!

Good luck everyone!

 

 

LD21

Posted by
Monday, August 15th, 2011 10:49 pm

I’m in!

 

Will be using XNA, sfxr and Paint.net.

[cache: storing page]