Digital Paint Discussion Board
Digital Paint Community => Other Stuff => Topic started by: y00tz on April 23, 2007, 10:28:11 PM
-
I learned Java last night, and I'm going to make a simple RPG (for fun, to see if I have it mastered) any tips or advice? Anyone else here ever programmed one? (2d, top down, maybe 3/4 isom.)
Cheers,
y00tz
-
Good luck. But in the words of Jesus (or former :P) himself:
Java makes me cry.
-
I learned Java last night, and I'm going to make a simple RPG (for fun, to see if I have it mastered) any tips or advice? Anyone else here ever programmed one? (2d, top down, maybe 3/4 isom.)
Cheers,
y00tz
I've used Java before, but I never actually made anything with it. :P
-
Yeah, Java is very slow, I wouldn't even learn it if it weren't for my growing clientbase
-
You learned Java in one night??!??!??!??!
And Java is a nice language :)
-
You learned Java in one night??!??!??!??!
Well, the concepts are easy, and the syntax is easy to understand.
-
You learned Java in one night??!??!??!??!
Well, the concepts are easy, and the syntax is easy to understand.
True, I'm a web-developer, I knew JavaScript, took a night, yeah.
-
Java is cruel. No good debugging possible. Which is really bad. :P
-
I develop web-based apps using Java :P
-
Here's the map structure
4 arrays exported to dats and placed in a zip.
(campaign1.zip)
the first array is the ground, this is a 64x64 array.
0's in the array represent dirt, 1's grass, 2 floor, etc
The number found in the array tells the gfx class what tile to draw, corresponding to editor.dat which is a shared file from both the map editor and the main game.
the 2nd array is the items drawn over the ground but characters can't walk over (rocks etc)
the 3rd array is monsters locations
(similar to the tiles)
and the final array is items
4 x 4 example
ground:
0 1 0 2
0 1 0 2
0 2 1 1
0 0 0 0
draws:
dirt grass dirt water
dirt grass dirt water
dirt water grass grass
dirt dirt dirt dirt
-
nice, i love playin RPG's so i will check this out for sure once your done
-
I learned Java last night, and I'm going to make a simple RPG (for fun, to see if I have it mastered) any tips or advice?
Tips or advice? Don't use java. :)
-
Hmm, what do you recommend?
-
lol use RPG Maker PRO
-
lol use RPG Maker PRO
What?
I'm a professional web-developer and computer science major. The reason I am learning Java is to produce cross-platform database supplements, as well as a client for an update server my company is making. Tell me, how would RPG Maker Pro help me?
-
C and OpenGL would make a good combination (naturally, I'm biased). While OpenGL is mostly known for 3D stuff, it does have a lot of 2D functionality. If you master C, you'll have a very good understanding of how computer programming works in general and be able to write better, more efficient code. From there you could take a step over to C++ or another OO language and use some object oriented features, though be careful not to abuse them.
An SDL base would also be helpful if you're worried about cross-platform compatibility.
-
Ehh, I mean, I know C++ I know C, mastered? Nope. Just enough to make some proof of concepts in OpenGL. I guess what I should have stated before is that I'm not interested in making games or desktop applications - I'm going to school for that. I am the lead coder at a web-dev startup, and I need to know Java simply for applets - not for applications. I agree with anyone that says C or C++ and arguably C# beat Java time and again in applications.
Outside of Flash (FS scripting is perhaps my native language :p) I'm limited on browser based platforms.
When I learn a language, this first thing I do is make something others can test... i.e. a multilayer browser-based RPG for ASP... A wiki for php, or a social networking site for ASP.net... With Java a 2d RPG seemed natural...
Cheers,
y00tz
-
I'd take flash over java. :P
-
Yeah. I am building an RPG game with flash and it is 10x easier to build the platforms and movement. Plus actionscript is easy to learn.
-
I wouldn't want java anywhere near my webpage...
-
I wouldn't want java anywhere near my webpage...
?
I guess you're picturing a beautiful well developed site with Java on it? Fat chance. Try a product shipped on CD to connect to a customers database to allow them to edit it.
-
I'd take flash over java. :P
The old system is in flash. Vista doesn't like Flash apps accessing locals files =/ Either patch, or use Java. We went with Java because of the broader support - also I have a personal thing for open-source, as Java becomes more and more open-source I tend to lean more to it. Flash 8 that I know of only runs on Windows and Mac
-
I wouldn't want java anywhere near my webpage...
Rofl.
-
I helped my friend port NetHack to his calculator...lawl.
-
If you're talking about a TI-83, I can't imagine that's accomplishable. >_>
-
There is higher TI's than the 83. But the 83 or the 83+ does support BASIC and if I'm thinking right NetHack is written in BASIC.
-
shh now, thats my livliehood.
-
There is higher TI's than the 83. But the 83 or the 83+ does support BASIC and if I'm thinking right NetHack is written in BASIC.
Oh my god, that would be the slowest thing ever. It's probably done on a later calculator, as you suggested.
-
Update:
Okay, so after the RPG engine was built, I decided I wanted things like a minimap and fog of war, so it sort of became a pseudo-RTS engine.
Lately I finished the map editor, 12 tiles (when you have 400+ on the screen once, making them tile well is a bit tricky), and started working on a data format for players.
Anyone here have any java networking experience?
-
2nd update:
Pending the completion of maps/sprties, the RPG is almost playable
(milestone 0.5)
Features:
- Isometric
- NPC System
-Trade System
- UDP/etworking (upto 4 players) capabilities
- Configurable FPS (60 by default, 110 max.)
- Chat system, within networking (Connectionless/UDP)
- Save/Load system
- Levelling system
- "active mapping" mapmaking tool
to do:
- Console scripting
- Resource gathering (fishing, etc.)
- Fix broken mini-map
- Title screen
- Loading screen
- Credits
- menu systems
- improved mouse support
- joystick support
- mobile device version
The CTP is what I needed to finish the graphics... check out these CTP textures transformed into isometric ground textures:
-
Cool, but the lack of perspective in those things always messes with my head. Things further away should be smaller. :P
-
I could do that. I hadn't considered it before, maybe make stuff that is above a certain area on the screen use a multiplier to shrink (*.8) and stuff lower on the screen (i.e. closer) could have a multiplier to grow (*1.1) hmm...
-
3rd update:
Pending the completion of maps/sprties, the RPG is playable
(milestone 0.9)
Features:
- Isometric or 2d top-down switch (3d in the works)
- NPC System with quests and shops
-Trade System
- UDP networking (restricted to 100 players, could support many more)
- Configurable FPS (30 by default, 55max.)
- Chat system
-server-side 'persistent world', including rapid saves
-MySQL database back-end, with php front-end
- Leveling system
- "Active Mapping" map-making tools, IsoMap and TopMap.
to do:
-scripting
-graphics (2d sprites, tiles, etc. 3d when canvas becomes GLcanvas)
-graphical effects (water tiles render twice to reflect objects where distance to object's base is <= objects height, particle effects, animations)
-crude implementation of dedicated, versatile server (think mini-mmorpg)
- Resource gathering (fishing, etc.) Done in 0.8
- Fix broken mini-map Done in 0.6
- Title screen 0.8
- Loading screen 0.8
- Credits 0.7
- menu systems see scripting
- improved mouse support 0.6
- joystick support cancelled
- mobile device version cancelled
-
you should look take a look at moparscape and stuff.
-
What, why?
-
Looks like its coming along good. Could you maybe give us some sort of trial version soon?
-
Yeah, Java is very slow, I wouldn't even learn it if it weren't for my growing clientbase
not true, there have been tests done that show that java has vastly improved its speed, and in several instances is faster than c/c++.
but lest i seem like a java fanboy: java's ok, but after learning a little C, i think i like it. :) just wish i knew more of it.
cool stuff, yootz, i'd love to see it!