InvisionFree - Free Forum Hosting
Free Forums. Reliable service with over 8 years of experience.

Learn More · Sign-up Now
Welcome to Mp2d. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Name:   Password:


Pages: (3) 1 [2] 3  ( Go to first unread post ) Add ReplyStart New TopicStart New Poll

 NetMission Engine
DeProgrammer
Posted: Sep 2 2009, 01:31 AM


Elite Pirate


Group: MP2D Team
Posts: 893
Member No.: 295
Joined: 3-June 05



Music plays--I tested it earlier with my sound off because I was in the math help room--and I can hear a "pwip" sound when I click, but yeah, no graphics... So infinite frame-skipping sounds about right. I think I set my timing up to render a minimum of every other frame. Pity my puny 2 GHz processor and integrated graphics card. Boo laptops. icon_razz.gif

Using the high-resolution counter is a little bit more difficult than timeGetTime()/GetTicks()...but not much. Here's a sloppy copy and paste of my timing stuff and game loop!

CODE
LARGE_INTEGER perFreq, perCnt;
LARGE_INTEGER LastMS, StoreMS;
double Change=0;
QueryPerformanceCounter(&perCnt);
StoreMS.QuadPart=perCnt.QuadPart;
printf("Timing initialized.\n");

while (!Ending) {
       tpkWDoEvents();
       SleepEx(1, TRUE);

 LastMS.QuadPart = StoreMS.QuadPart;
 QueryPerformanceFrequency(&perFreq);
 QueryPerformanceCounter(&perCnt);
 Change += (perCnt.QuadPart - LastMS.QuadPart) * 1000 / perFreq.QuadPart;
 StoreMS.QuadPart = perCnt.QuadPart;

 if (Change>=TPF) {
  //if (Change >= TPF * 2) Change = TPF; //I'm gonna pretend this doesn't happen.
  //Change -= TPF;
  Change = 0;
  if (GLRunning) {
   //TODO: Decide when to draw a frame and when to only calculate one
   CalcFrame();
   DrawFrame();
  }
 }
}


Heh, guess it's not set up to do every other frame after all. It used to be!


--------------------
user posted image
Signature by Rewrite.
My talent comes from deep within...like vomit!
Zurginator
Posted: Sep 2 2009, 01:37 AM


Zurginator the Pwninator


Group: Members
Posts: 3,122
Member No.: 1,047
Joined: 25-August 07



Oh yeah, Music works too. icon_biggrin.gif

Btw, it works on 64-bit OS's just fine, too.
Syntax Man
Posted: Sep 2 2009, 01:58 AM


Omega Pirate


Group: Members
Posts: 1,997
Member No.: 675
Joined: 20-March 06



It runs smoothly and everything works on x64 vista,

and I really want to see this project finished, partly to make my friend STFU but mostly because I've always liked the idea of MP in 2D, also if you're working with open GL, perhaps you can make a WAD or dol or something that will run on the Wii via homebrew.


--------------------
user posted image
QUOTE (Yahtzee)
People are Shit.  When I'm In a crowd I think to myself "who left this shit all over the place."   I'm shit, you're shit, the world is shit, and if you're sitting there thinking "yes its true, everyone else is shit except me" then you're a double bacon shit with large fries Mr. shit face

QUOTE (Duty Calls: a Call of Duty parody by People Can Fly (the Bulletstorm developer))
Rank Up! Sergeant Of The Master Sergeants Most Important Person Of Extreme Sergeants To The Max!
Nova
Posted: Sep 2 2009, 11:34 PM


Zoomer


Group: Members
Posts: 13
Member No.: 1,332
Joined: 24-May 09



I can't run it right now, as I'm on the Mac. If it's anything like the last demo though, it will be amazing. icon_biggrin.gif

Thanks Troid for not giving up on us and the project yet. I'll be here full support for whenever you need me, and I'm sure the rest of us will too.


--------------------
Back in the day, limited to 16-bit technology, the composers of then created what could be considered masterpieces. So what if they were made for the technology of today?
It is in my intention to try to bring songs of old into the technology of today:

http://www.youtube.com/user/DaDude261
Zurginator
Posted: Sep 2 2009, 11:40 PM


Zurginator the Pwninator


Group: Members
Posts: 3,122
Member No.: 1,047
Joined: 25-August 07



QUOTE (Nova @ Sep 2 2009, 11:34 PM)
I can't run it right now, as I'm on the Mac. If it's anything like the last demo though, it will be amazing. icon_biggrin.gif

Thanks Troid for not giving up on us and the project yet. I'll be here full support for whenever you need me, and I'm sure the rest of us will too.

I won't, I've got my own project to worry about. icon_mad.gif
timmehboy
Posted: Sep 5 2009, 01:08 PM


Metroid


Group: MP2D Team
Posts: 464
Member No.: 1,030
Joined: 7-August 07



I'd like to help, I'm free weekends and hols.
The engine isn't bad at all with the help of the DLLs, it might need some tweaking for the physics (made reall have an epileptic fit), but what you have now will be fine for dying Space Pirates. Does this mean the Artifacts of the Month will start over again? If so... count me in icon_wink.gif


--------------------
user posted image
METOROIDO OMOROIDO!
If you need help with sprites, drawings, art, ask me. I'm very willing to help, especially for promising fangames ^_^.
Troid92
Posted: Sep 5 2009, 08:57 PM


Music God / Temp Admin
Group Icon

Group: Admin
Posts: 1,735
Member No.: 19
Joined: 28-January 05



QUOTE (timmehboy @ Sep 5 2009, 07:08 AM)
I'd like to help, I'm free weekends and hols.
The engine isn't bad at all with the help of the DLLs, it might need some tweaking for the physics (made reall have an epileptic fit), but what you have now will be fine for dying Space Pirates. Does this mean the Artifacts of the Month will start over again? If so... count me in icon_wink.gif

Thanks for the support. icon_biggrin.gif

Artifacts of the Month was hard for me to keep running consistently, but I would be glad to start it up again if people want it back.

Yes, one of the glitches is getting MR to shake violently for no reason, sometimes enough to jump to the top of the screen. Animated models won't have this issue, and I'll look into it for future ragdolls like dead pirates.

Speaking of DLLs, I know I can cut my DLL usage at least in half, but I had trouble doing so in my compiler/IDE setup.


==========


Attention!

For those who could not run the demo posted, here is a video of me playing it:
http://www.filefront.com/14472583/nmdemo.mp4

Sorry if the music is a little jumpy at the start. Recording it was a little CPU-intensive, and the software-rendered audio responds poorly to that.


--------------------
user posted image
MIDI-maker / Fangame Programmer
Rofl, you had to be there. <_<;
Yay red text.
Candy Man Criminal
Posted: Sep 6 2009, 12:31 AM


Metroid Prime


Group: Members
Posts: 2,775
Member No.: 1,101
Joined: 13-January 08



troid brings rape


--------------------
user posted image
QUOTE (Timmeh)
troid is jesus on stilts

QUOTE
Parkour: We Turned Running From The Cops Into A Sport.
Zurginator
Posted: Sep 6 2009, 01:03 AM


Zurginator the Pwninator


Group: Members
Posts: 3,122
Member No.: 1,047
Joined: 25-August 07



Next version should include samus with a gravity gun, to explain why ridley does this. xD
Candy Man Criminal
Posted: Sep 6 2009, 01:49 AM


Metroid Prime


Group: Members
Posts: 2,775
Member No.: 1,101
Joined: 13-January 08



... or the drilldo


--------------------
user posted image
QUOTE (Timmeh)
troid is jesus on stilts

QUOTE
Parkour: We Turned Running From The Cops Into A Sport.
Ryan-Phoenixan
Posted: Sep 27 2009, 01:04 AM


War Wasp


Group: Members
Posts: 148
Member No.: 666
Joined: 13-March 06



Excellent work there. I'm rather impressed. icon_smile.gif


--------------------
Troid92
Posted: Jan 1 2010, 02:17 AM


Music God / Temp Admin
Group Icon

Group: Admin
Posts: 1,735
Member No.: 19
Joined: 28-January 05



Thanks.

Future updates will be posted in the other NetMission topic.

(Latest update)


--------------------
user posted image
MIDI-maker / Fangame Programmer
Rofl, you had to be there. <_<;
Yay red text.
Under The Ashes
Posted: Jan 3 2010, 02:12 AM


A Screaming Riot


Group: Members
Posts: 1,406
Member No.: 1,307
Joined: 8-February 09



How close are you to completing your engine? It seems well on it's way, but I can't exactly tell. Do you have a percentage?


--------------------
<img src='http://notpy.notstaticfire.co.uk/Hurr I am plane.png' border='0' alt='user posted image'>
QUOTE (Candy Man Criminal)
its not sex just cuz you switched hands
MetalCoreSuit
Posted: Apr 18 2010, 02:13 AM


Geemer


Group: Members
Posts: 51
Member No.: 1,386
Joined: 17-April 10



can i help you with something like some sprites,story, music or something?
Phlakes
Posted: Apr 18 2010, 12:45 PM


Omega Pirate


Group: Members
Posts: 1,425
Member No.: 1,201
Joined: 8-October 08



Do not bump 3 month old topics.


--------------------
user posted image

Figured I'd steal a cruise ship
Sail it off a waterfall while covered in gold paint
Handstanding next to a mariachi band
On fire
« Next Oldest | Announcements, Rules and Regulations | Next Newest »
DealsFor.me - The best sales, coupons, and discounts for you

Topic OptionsPages: (3) 1 [2] 3  Add ReplyStart New TopicStart New Poll


Go to IRC Room


Hosted for free by InvisionFree* (Terms of Use: Updated 2/10/2010) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Page creation time: 0.1141 seconds | Archive
free hit counter
free hit counter