Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1401603 Posts in 67929 Topics- by 61475 Members - Latest Member: getmotion

July 01, 2022, 02:21:33 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityJams & EventsCompetitionsOld CompetitionsCockpit CompetitionVenus Patrol [FINISHED]
Pages: 1 [2] 3 4
Print
Author Topic: Venus Patrol [FINISHED]  (Read 39353 times)
Pishtaco
Level 10
*****


View Profile WWW
« Reply #20 on: March 19, 2009, 12:43:44 AM »

Amazing aesthetics, nice feel, though I have a hard time getting the plane to go anywhere but down...
Try just flying straight, without banking to either side, and experimenting with different throttle and elevator settings. The plane should be pretty stable, particularly as I cheated and put in some forces to automatically cancel out small amounts of banking.

I just spent a night trying to come to grips with using Numpy for rotating and translating a couple of hundred flying triangles. It turns out that numpy can't do lots of linear algebra operations in parallel (which is what I was hoping to use it for), and in fact that it is crap at linear algebra in general. It's running slower than the straight python version -- although this would probably change if I were transforming more complicated shapes, or if I knew what I was doing. There is some kind of fortran library accessible through scipy that is better at matrix multiplication; but if I import it, there is a conflict with pyglet's sound library; and to get it to work well I am going to have to fiddle with memory allocation and suchlike, and might as well just learn C.
Logged

ras
Level 0
**


View Profile
« Reply #21 on: March 19, 2009, 05:14:01 AM »

I really like the visuals and the feel you get from them. Keep up the good work.
Logged
muku
Level 10
*****



View Profile WWW
« Reply #22 on: March 22, 2009, 11:39:06 AM »

I just tried to try this on a Vista laptop with a crappy integrated Intel graphics chipset, and this is what I get:

Quote
Traceback (most recent call last):
  File "<string>", line 9, in <module>
  File "C:\flight\buildflight\out1.pyz/pyglet.window.win32", line 423, in __init__
  File "C:\flight\buildflight\out1.pyz/pyglet.window", line 644, in __init__
  File "C:\flight\buildflight\out1.pyz/pyglet.window", line 290, in get_best_config
pyglet.window.NoSuchConfigException

 Sad
Logged
Pishtaco
Level 10
*****


View Profile WWW
« Reply #23 on: March 23, 2009, 08:23:18 AM »

Here's a new prototype: http://www.willhostforfood.com/access.php?fileid=59583
I see that the executable size has grown a lot. I'm not sure why; probably it's some new python library it is including. Muku: I hope this one works for you. I think the problem before it that I was tring to force anti-aliasing.

Space fires the guns (which are anemic at the moment) and control goes to gunsight view. You can press m to spawn some flying black triangles. These follow you around, but don't do much else right now.

A screenshot (already posted in the art subforum):
Logged

Fuzz
Guest
« Reply #24 on: March 23, 2009, 04:08:13 PM »

It's looking nice, although I would rather play it in fullscreen, especially with the problems that come with windowed mouse control.
Logged
nihilocrat
Level 10
*****


Full of stars.


View Profile WWW
« Reply #25 on: March 24, 2009, 06:00:35 AM »

I like the new model! I wonder what it will play like once you get enemies / prey / whatever in...
Logged

Pishtaco
Level 10
*****


View Profile WWW
« Reply #26 on: March 24, 2009, 07:53:41 AM »

I've found a python particle engine that I would like to use, but it only works with Python 2.6. Whereas the physics engine I'm using only works with Python 2.5 Tired. And the author of pyglet has some kind of philosophical objection to getting things to run at lower resolutions in fullscreen.
Logged

nihilocrat
Level 10
*****


Full of stars.


View Profile WWW
« Reply #27 on: March 25, 2009, 09:37:21 AM »

Are you referring to Lepton? I'm sure you can install it from source, but on Windows that's probably gonna be harder if it's not a pure Python library. I'm betting the dependencies are really low though, so you might be able to build a lepton DLL and then just "setup.py install" to install it using your 2.5 install.

Interesting, I didn't know that about Alex. Honestly, I haven't tried getting any of my pyglet games in fullscreen because developing in fullscreen is a pain... you have to wait for your computer to switch video modes and all...
« Last Edit: March 25, 2009, 09:43:29 AM by nihilocrat » Logged

Pishtaco
Level 10
*****


View Profile WWW
« Reply #28 on: March 25, 2009, 12:51:35 PM »

Are you referring to Lepton? I'm sure you can install it from source, but on Windows that's probably gonna be harder if it's not a pure Python library. I'm betting the dependencies are really low though, so you might be able to build a lepton DLL and then just "setup.py install" to install it using your 2.5 install.

Interesting, I didn't know that about Alex. Honestly, I haven't tried getting any of my pyglet games in fullscreen because developing in fullscreen is a pain... you have to wait for your computer to switch video modes and all...

Yes, Lepton. I had a go at compiling it, but it seems to want Visual C++ 2003, or something like that. I tried compiling PyOde (the physics engine) for Python 2.6 instead, but it's all looking rather complicated so I've given up for now.

It seems that he thinks that the fullscreen stuff is very clunky, especially for something that's meant to be crossplatform; and that it shouldn't be necessary for games written nowadays. I can see the first part of this, but his workaround (drawing to a texture and then blitting a scaled up version to the screen) seems slow and isn't working well for me at the moment; something weird is happening with the alpha values. Anyway, sorry to be petty; kudos to the guy for writing pyglet and making it available.
Logged

nihilocrat
Level 10
*****


Full of stars.


View Profile WWW
« Reply #29 on: March 25, 2009, 06:03:44 PM »

Hehe, I didn't mean to call you out for being petty or anything, I guess what I wrote ("I didn't know that about Alex") looks funny, like it was a personal attack or something. I agree that it's bogus that he hasn't got a good solution for fullscreen and doesn't seem worried about it. It might be the case where fullscreen is much more clear-cut in Linux/Mac but gets more complicated in Windows.

It's stuff like this why I keep to bigger engines like Ogre3D or Panda3D for my 3d stuff... it's easier to do everything, though honestly they have their quirks where the developers decided to completely leave out or half-implement something you feel is critical. Downside is, the applications are beefier, slower to boot up, take up more disk space, etc.. In this day and age my game (weighs in at 78 mb of RAM fully loaded, 63 meg on the disk) isn't exactly breaking the scale, but is a complete porker when you compare it to 2d indie games that are 10 meg or less. I don't want to get in a tangent, but my experience with Pyweek suggests there are people out there who are apparently disgusted by compo games of this size.
Logged

Mikademus
Level 10
*****


The Magical Owl


View Profile
« Reply #30 on: March 25, 2009, 07:24:32 PM »

the applications are beefier, slower to boot up, take up more disk space, etc.. In this day and age my game (weighs in at 78 mb of RAM fully loaded, 63 meg on the disk) isn't exactly breaking the scale, but is a complete porker when you compare it to 2d indie games that are 10 meg or less. I don't want to get in a tangent, but my experience with Pyweek suggests there are people out there who are apparently disgusted by compo games of this size.

Oh shit, that's bad news for me, my games are generally in the range 50--100 MB, a project from two years ago was 600 MB Sad
Logged

\\\"There\\\'s a tendency among the press to attribute the creation of a game to a single person,\\\" says Warren Spector, creator of Thief and Deus Ex. --IGN<br />My compilation of game engines for indies
Fuzz
Guest
« Reply #31 on: March 25, 2009, 07:32:50 PM »

The thing is, my computer only has 37 GB of total space. I can't really afford to have games that are too big, especially as I'm already using 8 GB for games. Cry

Maybe I should delete Quite Soulless.
Logged
Pishtaco
Level 10
*****


View Profile WWW
« Reply #32 on: March 26, 2009, 12:53:07 AM »

I've been working on AI. Putting in a dumb-but-effective turn-and-burn drone plane is surprisingly straightforward. And the time I spent arranging things in an object oriented, model-view-controller fashion is now really paying off; it took just a couple of lines to add a new plane and transfer the camera and hud to it.

It looks now as though to have something for Sunday, the gameplay is going to end up cut back to just a few dogfights with aliens and maybe a rocket attack, and that I need to do more work on the camera and the controls for these to feel right. I may end up having to go to a mostly first-person view, which is something I wanted to avoid.
Logged

trabitboy
Level 0
***


View Profile WWW
« Reply #33 on: March 26, 2009, 01:52:07 AM »

you know, even basic flight had such a cool feeling, you could have gotten away with it  Coffee
Logged

nihilocrat
Level 10
*****


Full of stars.


View Profile WWW
« Reply #34 on: March 26, 2009, 12:52:52 PM »

They say "cutting is shipping"

The more I noticed I bit off more I can chew with this compo, the more I keep that in mind.
Logged

Pishtaco
Level 10
*****


View Profile WWW
« Reply #35 on: March 26, 2009, 06:20:38 PM »

They say "cutting is shipping"

The more I noticed I bit off more I can chew with this compo, the more I keep that in mind.
I'm actually finding myself enjoying the feeling of needing to cut things ruthlessly as the deadline comes up. It's exciting.

New prototype: http://www.willhostforfood.com/access.php?fileid=59972
Now you can spar with your wingman above the Venusian sulphuric acid clouds. Tab to select a target, shift to switch between free and target tracking camera, control key for awesomecam, space to fire. It should now be in ropey full screen. On a whim I put in a doppler shift effect, thinking I was probably wasting time, but it actually comes off rather well.



« Last Edit: March 26, 2009, 06:26:41 PM by Pishtaco » Logged

nihilocrat
Level 10
*****


Full of stars.


View Profile WWW
« Reply #36 on: March 27, 2009, 03:59:28 PM »

Dang, it's hard to get that plane in your sights... I never managed to. Look like it's going along pretty well!
Logged

Pishtaco
Level 10
*****


View Profile WWW
« Reply #37 on: March 29, 2009, 03:12:55 AM »

Collisions, at least between bullets and planes, are now in, thanks to Pyode. For safety's sake, the bullets are 40 meters long. I have also just about sussed out how to integrate Numpy with pyglet, thanks to the posts here. I'm using this for particle effects, and will have a go at doing other things with it; I have an idea how to cheat to get nice matrix multiplication. But I confess that at the moment I don't have much idea how much speed I am gaining through this.

I spent a lot of yesterday working on effects for when you fly into clouds. Then in the evening I realized that, due to some design decisions I had made, the clouds may as well just be a few textured planes.

I have got the controls into a shape I'm happier with. Now you can hold down the left mouse button to roll; this keeps the elevator mostly centered and gives you more steady control over the ailerons. I've put in some more visual feedback in the hud, and decreased the roll rate to something more in line with 1940s aircraft.
Logged

Pishtaco
Level 10
*****


View Profile WWW
« Reply #38 on: April 03, 2009, 04:04:22 PM »


New version: http://www.willhostforfood.com/access.php?fileid=61029

I got sick of the red and orange. Shooting at and damaging enemies is now in, but your plane can't be damaged. Tab to choose targets, shift to switch cameras, left control for internal camera, space to shoot, mouse to control the plane, left button to roll, right button to move the camera.
Logged

Ivan
Owl Country
Level 10
*


alright, let's see what we can see


View Profile
« Reply #39 on: April 03, 2009, 04:40:07 PM »

Wow, the game looks great, I really love the graphics. It's really really hard to control though. Maybe I'm just terrible at it, but it found it almost impossible to get a shot at anyone.
Logged

http://polycode.org/ - Free, cross-platform, open-source engine.
Pages: 1 [2] 3 4
Print
Jump to:  

Theme orange-lt created by panic