Creating 2D graphics with a 3D tool? [closed] - graphics

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm planning to develop a RTS game with 2D graphics, since it will be a sprites-based game it will require multiple views of every actor (or at least for most of them)
for instance
Now the problem is I kinda sucks as designer, can work a bit with Photoshop but being a 2D software would be really hard to create different views of a single character and make it to look the same.
That's why I was thinking to create models with a 3D tool, then i could get all the renders just rotating them...does this make sense for you guys?
If so, that drives me to a second question: What software could I use?
Again, I'm programmer not designer so I will need to learn from scratch, and 3D studio and Blender look really complex, Google Sketchup seems to be easier but not sure if worth it.
Well that's it, thanks in advance for any feedback.

Creating your actors with a 3D modelling tool and then creating sprites by rendering multiple viewpoints of them is a sound approach. The main thing is to make sure you have a way of scripting the sprite production so that you don't have to tediously generate 100s of sprite images manually!
These days though, I'd have to query why, if you have actors as 3D models, you wouldn't just render them directly in 3D on whatever platform the game is running on. Even the most humble mobile platform has enough graphics power to 3D render any model you're likely to cook up for sprite-sized objects, and a fully 3D approach gives much more flexibility.
Hybrid approaches are also possible; I seem to remember the Total Annihilation RTS games stored 3D models of the game objects, but created and cached 2D spites of them on demand (within the otherwise 2D game engine) rather than relying on the flaky 3D HW of the day or on pregeneration of sprite images for loading. It was a good solution for it's time but I'd be surprised if the approach was still needed today.

It's worth persevering with a package like blender or 3D Studio. The skills you pick up will be useful for other stuff in the future.
If you're dealing with relatively small or low rez graphics like in your example, you don't need to worry about putting too much detail into your model. Just render it out, scale it down and then adjust it in a paint package.

Related

Decide Pixi.js or Phaser [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 21 days ago.
The community reviewed whether to reopen this question 21 days ago and left it closed:
Original close reason(s) were not resolved
Improve this question
One of my school project is to make a realtime multiplayers webpage game, I am currently having difficulty to decide if I should go Pixi.js or Phaser for the game graphic and control, could anyone talk a little bit about what they are good at and better that each other?
Phaser uses Pixi for rendering, albeit an older and heavily modified version of it. Current versions of Pixi may give you better performance, but you'll have to implement by hand what's readily available in Phaser.
They are different by that Pixi is a rendering engine and Phaser is a game framework.
I'll quote Rich, the creator of Phaser:
Off the top of my head, here is what Phaser adds onto Pixi:
Choice of physics systems (arcade or full body)
A Game World and a Camera which can pan around it
Tilemap support
A particle system
Sound support (both web audio and legacy audio)
More advanced input handling (input priority, drag and drop, etc)
Keyboard and Gamepad inputs
Scale Manager to handle game / scene resizing + full screen support
Tween Manager for tweening game objects, hooked into the core clock (so it pauses properly when your game does)
Asset loader (supporting all kinds of file types) and Cache
A State Manager to let you swap between game states easily
Game clock + custom timers + timer events
And probably lots more I forgot. As someone has commented though, it depends entirely on what you want to make. Lots of people use Pixi who don't make games at all. However as this is a game dev forum, I'm going to suspect you do :)
I guess just try it. If you don't like it put it down to experience and just use Pixi "raw".
Source: http://www.html5gamedevs.com/topic/12656-phaser-pixi/#comment-72893
Depending on how much you can wait, you may actually wait to try Phaser 3 (Lazer), which is currently in the works, and will have its own rendering engine. I think, however, that learning the current version of Phaser is a good starting point, and many things in Lazer will be the same.
Phaser gives you a full game framework. Pixi is a rendering engine as Kamen described above.
My idea, if you are a beginner on HTML5 game development, you can have two different approaches;
If you have a product ahead of you to complete, Phaser gives you more tools and therefore speed. It is the biggest sea to swim in for HTML5 game development. But it has its own limitations. Off course you can write your own tools but at the end it is a framework and like every framework it forces you to use its own flow and tools to run smoothly. It would require some time for a developer to understand its flaw, pinpoint their needs and if Phaser doesn't meet them, implement their own solutions. But many people use Phaser and most possibly, there is an answer to all of the problems for a beginner. At the beginning they were using Pixi.js as renderer but now they have their own.
If you want to learn by digging deep into HTML5 renderers and game development, starting by using Pixi.js might be a better decision. As mentioned, Pixi.js is only the renderer. It has cool features but it needs more development upon it to make games. But it also gives you the freedom. You mostly won't have to deal with renderers(WebGL or Canvas) but rest is fully up to you. Personally, I started with Pixi.js, I knew about Phaser but I didn't look deeper into it and wrote my own framework. After my framework got into some point on development, I checked Phaser and I realized that what I had in mind was mostly already existed on Phaser. But still it gave me a deeper information about HTML5 game development.

Bulllet physics engine on seperate thread to Improve performance/frame rate with Cocos3D

I am making an awesome game using Cocos3D.
Right now i am just trying to improve performance, and i was hoping anyone out here has some good answers.
My main idea improve performance is to put the physics calculations done by Bullet Physics Engine on a separate thread.
I know this means that the physics calculations won't be in sync with the rendering, but that might just be the better option(the alternative being low performance).
Here are some screenshots of my game, so you guys can have an idea of what type of game i am making.
Please take a look at the frame rate on the bottom-left of the screenshots.
As you can see, the frame rate is not so impressive with 10 enemies in the scene.
I know putting all the interface controls (joystick,health bars, spell buttons) in a CCSpriteBatchNode will help performance, and i am going to do that later on.
This was tested on an iPhone 4.
I also tested it on Samsung Galaxy s4, and it was about twice as fast.
Anyway, the main question here is... will putting physics on a separate thread improve performance, or at least will it make the rendering smoother, because it's a bit laggy now.

What makes a 3D game's graphics [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
As a somewhat experienced XNA developer, and a beginner to the world of 3D modeling (via Autodesk Maya), I was really wondering what actually makes the graphics look so good in video games such as Crysis3, FarCry3, Metro:Last Light, etc..
Are the game's graphics affected mostly by the Models? Shaders? Something withing the game's engine? Or might it even be the textures that are used?
My guess was that the game's shaders are the most important, but since I barely know anything about it I've decided to ask before I start learning how to program it (HLSL, right?).
thanks.
It's the artists. A good artist can take anything and make it look beautiful.
It really comes down to a combination of things - the models, the shaders, the textures. The dirty tricks you use to combine these things.
But I think, from the perspective you're asking your question from, the answer is definitely "the shaders". The shaders are what bring everything together to create the final image. Shaders are basically little programs - so they can do more-or-less anything.
Of course, that's kind of like asking "what makes software so great?" and saying that it's "the code".
Probably the most important thing that makes a 3D scene look realistic/good is the lighting. This is usually done in shaders. But it could also be pre-calculated and stored in textures. Or some combination of the two.
Here's an article about a game that has an advanced, physically-accurate lighting simulation (many games are still using non-physical simulations). The shader is what does the lighting calculation itself - but the textures that define a material's properties are obviously integral to this process.

resources for making a 2d sprite? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am making a 2d game, can you post link- tutorials for making a 2d game sprites?, and tutorial for browser game development?
I will be really helpfull
Thanks to all
Here's an article with quite a few details
This site also has some sprite-related resources, and the forums have some guides from a number of experienced people.
If you are wanting to learn about making 2D sprites, the best advice I can give is to learn from the hard work of others. Find a game with sprites that you can edit, and start by modifying the existing sprites (a simple recolor is an easy starting point). Then you can move on to larger sprite modifications (shape, size, etc), "swapping" sprites between games, creating a simple game and using sprites that you "borrowed" from an existing game, etc.
I've been thinking about this problem recently.
In the old days, sprites were hand-drawn pixel by pixel. This works well for flat 2D games (side-scrollers, cartoon adventure games, Z-axis top-down, and such), particularly if they are in the 320x200 resolution. Some examples of gorgeous hand-drawn sprite games are the Sierra and Lucas Arts adventure games, Disney's jump&runs, Capcom's fighter games, the Tyrian/Raptor-style top-down scrollers, and the early RTS games (C&C, WC1).
Some games, like Prince of Persia and Mortal Combat, used sprites from animated actors. That produced fluid motion, but looked 'flat'.
Between the mid-90s and the early-00s, character/item sprite-drawing was done by taking stills of 3D objects. Practically every 2D RTS game since around Age of Empires 1 did that. AFAIK Diablo, Baldur's Gate, Divine Divinity, and other such RPG games did the same. This is the reason those games came on so many CDs - they were chock-full of content.
This approach looks great (not flat, but "2.5D") but takes a lot of hard-drive space. Also, whereas you could produce hand-drawn sprites in Paint, the 2.5D ones require 3Ds Max (or equivalent).
One problem that arises with this approach is the combinatorial explosion in costume design (i.e. if you want animate a character in three different coats with three different hats and three different pairs of pants, you need 27 distinct animation). The solution to this, as seen in Diablo II and Baldur's Gate, is rag-dolling - you produce different sprites for every part of the body. This takes a lot of work. Blizzard made their own tools to produce their sprites, but I'm not sure there are sprite rag-dolling tools in the open.
More recently, most games are 3D. Many actually look worse than the old 2.5D ones, because a simple 3D model can animate well in sprites, but poorly in real-time 3D. The difference is that between a glamor shot of a celebrity, taken from a certain distance in certain lighting and then worked-over in photoshop, and the appearance of the same celebrity in real-life (which may not be as glamorous).
I wonder if there are 3D Object -> Sprite programs. I know of one (don't remember the name at the moment), but are there others? At the very least I'm sure there are scripts for Maya and 3ds Max that take shots of an animated 3D object from different angles. Does anyone know more on this?
To make a 2D game sprite:
Open up paint. Paint a picture. Save as a bmp. You now have a 1 frame sprite. You can add meta data to this in code if needed for hotspot, collision info, etc. If you want it to animate, create a bunch of bmps and display them 1 at a time at whatever speed you want to animate them at.
No need for a tutorial link for something like this. Or, you can download any one of thousands of sprite editors that do the above stuff in one place.

Where can I get freely available audio, graphics, and other resources for games? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've done a google search of this topic, but so far haven't found anything satisfactory.
From your experience, what's the best place to get game resources, like sprites, backgrounds, sound effects, music, etc.? To be more specific, I'm looking for more of sound effects and music, which I'm currently lacking more than graphics. However, for graphics, I've tried getting random graphics from different sites, but they just don't match. I don't want to copy one entire graphics package either.
The resources should be free and easy to obtain. The products I intend to make are free if not open source, and are unlikely to receive widespread attention or produce profit for myself, so I'd like something that I can use and distribute freely.
I don't have enough graphics and musical knowledge to attempt to create resources from scratch and don't know anyone willing to do so.
I'm working with Java. I'm sure I can read all kinds of file formats with it, or if not, I can always use software to convert resources.
In terms of graphics, Daniel Cook of Lost Garden produces some seriously high quality, reusable game art that is free for both personal and commercial work (read his license details). Here's the index of his free graphics related posts, just hit the "read more" link at the bottom of an article and you'll find links to the downloads.
edit: in terms of sound effects, Soundrangers is pretty decent if you have something specific in mind, but it can quickly get expensive. For a complex game, if you're wanting a rich user experience you'll need dozens, if not hundreds of sound effects. At a couple of bucks a pop, that adds up real quick. A lot of places (including Soundrangers) offer thematic sound packs which give you a little more bang for your buck, but it's still not free. GameDev also has a listing of audio resources.
For music, I think your options are better. Depending on what kind of thing you're looking for (ambient, instrumental, vocal etc). I would seriously think about approaching local independent musicians and using existing tracks that they have. They're likely to let you use their music for free (properly accredited of course) or at a reasonable cost.
There's http://www.freesound.org/
Most stuff there has a license that is incompatible with, say, Fedora, for instance, though if you ask the copyright holder sometimes they'll license things under a different license.
Music is harder to come by than sound effects. you could try digging around on archive.org, say here: http://www.archive.org/details/muzic
Also check out sfxr http://www.cyd.liu.se/~tompe573/hp/project_sfxr.html
though the sounds that it makes are pretty old school sounding -- and if that's what you're looking for, it's cool, otherwise, it can make some place holder sound effects.
If you're looking for interesting textures, I would suggest checking out Filter Forge. You can download the filters for use in Adobe Photoshop, or you can potentially use the sample images on the site to create texture maps for various types of terrains and materials.
GarageGames.com sells a lot of that kind of thing... 3d models, textures, background music and so on.
http://garagegames.com and specifically http://www.garagegames.com/products/browse
HTH
edit: whoops, I didn't see the "free" requirement! Do a search on "creative commons" and you'll find lots of music, at least, and some graphics.
Don't know if this is the type of thing you're looking for, but Game Sprite Archives has a huge huge collection of SNES/NES/Anything pre-playstation 1 sprite rips.
I just discovered this site the other day while looking for some sound effects:
http://www.soundrangers.com/
It looks like they're royalty-free but most of the sounds cost a buck or two. Looks like some sounds are free though.
Clipart
Open Clip Art
Textures
ImageAfter
CG Textures
OpenFootage
Texture Hound
I recommend Sound Snap, they allow 5 free downloads for a month for the free accounts, and more if you sign up. I have been using them for the past couple of months for the games I have developed.

Resources