Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Patrick Negri

My Iso Engine

This topic is 6919 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello guys, i just finishim a test ver of my iso engine Can anyone test please??? URL: [URL]http://www.menthor.com.br/~edwin/isotest3.zip[/URL] Its scrolling very nice, but one problem, see how the map is when scrolling it a bit... Use the arrow keys to scroll... If any1 have an idea on how to solve this... How i draw the map??? Humm... in start of each y: tmx = mx; // temporary map x tmy = my; // temporary map y in each x at the end: tmx++; tmy--; in each y at the end: if tmy == odd tmy++ else tmx++ ------------------- Thanks a lot Sincerely Patrick Ribeiro Negri patrick@tay.com.br

Share this post


Link to post
Share on other sites
Advertisement
Well, it did not run in the comp I''m writing this... no, it did, but the map just keep blinking. I''ll try later at home.

Btw, I''m working in a isomeric engine too, but I have nothing to show for the moment. I''m more interested in how I''m going to handle character movement and scrolling at the same time.


Gaiomard Dragon
-===(UDIC)===-



P.S. Fortaleza, CE

Share this post


Link to post
Share on other sites
I downloaded it and the good news is that your scrolling is pretty smooth. Map tiles were flickering all over the place, though - and only when I moved. I''m not sure if this is intentional - if its not, you probably need to look at the code linking your map to your current rendering location (check out TANSTAAFL (however that is spelled!)''s isometric FAQ for good ideas on this). Also, you might get a nicer visual effect if you halve the vertical height of your tiles - that gives much more of a feeling of depth.

Share this post


Link to post
Share on other sites
I ran it on my PC and it looked fine. I don''t know how it''s supposed to look though. It had a black background with a red grid. Some squares to the bottom left had greenery in them and most of the squares to the top right had funny red symbols. Hopefully, this is how it should look!!
I''m about to create an iso engine myself, for a game that me and some friends are putting together. So I may well be returning to post my own questions in due course!

Share this post


Link to post
Share on other sites
ran on my computer
DELL Optiplex GX1 500mhz
128mb RAM
nvidia TNT(not sure who makes)
WINNT 4.0 sp5

the tiles flickered though

Share this post


Link to post
Share on other sites
It worked fine on my computer... I''m just curious:
Is the speed at maximum or have you got a timer funktion or delay to make the speed the same at every computer?

Share this post


Link to post
Share on other sites
It *seems* to work fine. The scroll is smooth, but the tiles jumps around. Also, I think the speed is the same, no matter the computer. I ran it on a P200 and on a K6-2 500, noticed no difference.

Gaiomard Dragon
-===(UDIC)===-

Share this post


Link to post
Share on other sites
Yes, i got a function to calc the delay, and a lot of more functions, i would write a article about this source and about the other functions i am ready to finishim, i am just awaiting to a solution to correct this problem i am having, when it done, wait for more, i just have done a huge map system, with a map file of 70mb, i have created a map of 1200x1200, with a nice height level system (i call as z coord), and a nice tile information, like index file for tile set, a tile set data file, a multi object index, a multi object data, and a lot of stuff, for now i can say that multiple object data is a file where i store like a building, and its levels and angle of view, with this multi file, i can build a house easily, and then show its interior, or exterior, depending on player''s vision, i hope i can fix my problem very soon, its all for now...

Patrick Negri

Share this post


Link to post
Share on other sites
Your scrolling is also wrong besides the drawing of the map..

I can''t really tell if you want to make a scrolling isometric map or a tile one..

If it is isometric, try using the Home/PageUp/End/PgDn and Up/Down/Left/Right to scroll. It is more inituitive that way..

If it is isometric, then try checking the isometric section here.. you will find some articles that show you how to draw an isometric map..

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!