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

Author Topic: Scrolling Shooter  (Read 9095 times)

0 Members and 1 Guest are viewing this topic.

Leandro

  • Newbie
  • *
  • Posts: 8
    • MSN Messenger - leostera@hotmail.com
    • View Profile
    • http://www.elrincondelea.com.ar
Scrolling Shooter
« on: November 19, 2008, 04:27:05 pm »
Hi there guys, I'm working since 3 days ago in this project. It's a basic scrolling shooter like 1942.

I've been having some troubles with the Scale function (for making the deep-sensation, so you can go towards the sky or towards the earth, in 5 different "height levels", and so on you will get 5 different battlegrounds at the same time). Anyway, here's what I've done.

Since my internet conexion sucks, I had to split the actual compressed file into "sections" so that I can upload them easierly.

http://leoostera.googlepages.com/Release_Bin.rar
http://leoostera.googlepages.com/Release_GFX.rar
http://leoostera.googlepages.com/Release_SFX.rar
http://leoostera.googlepages.com/Release_Music.rar

The music of the game was composed by me, transcribed to Guitar Pro, exported to WAV and then converted to Ogg with Audacity. And the effects were recorded with a microphone and Audacity.

The sprites were taken from Rayden, although I modified them a bit to add the "turbo" and "slowdown" thing. Lastly, I made the bullet and the mouse sprite myself  :roll: ...yeah, they suck :P

Ok. Controls are WASD for moving left, right, forward and backward. Left click shots.

I will implement mouse aiming limited by angles for the cannons and a "sniper" system so that you can aim with both cannons to the same place at the time.

Also I'm trying to figure out how does Scale function work so that I can make that "height level" sensation/effect.

Well, thanks for everything. Any feedback is welcomed :D
Leandro Ostera
My Blags
Who Am I

Leandro

  • Newbie
  • *
  • Posts: 8
    • MSN Messenger - leostera@hotmail.com
    • View Profile
    • http://www.elrincondelea.com.ar
Scrolling Shooter
« Reply #1 on: November 20, 2008, 01:27:38 am »
Well, after some time thinking and trying I got the scaling-depth-up&down-effect I was trying to code.

The new binary can be download from here:

http://leoostera.googlepages.com/Release_NewBin.rar

It's more like a patch :P...but if someone just wants to check how it works instead of downloading everything just get the Release_NewBin and the Release_GFX...it requires all but sfml-network dll that well, i suppose you all have.

The keys are Left Control for going down and Left Shift for going up.

Any feedback is welcomed  :D
Leandro Ostera
My Blags
Who Am I

Kreeg

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Scrolling Shooter
« Reply #2 on: November 21, 2008, 11:02:22 pm »
Would you please give us the code ? I can't use Windows :/
Thanks in advance !
Attention (va) aux (sur) messages (mon) subliminaux, (blog) camarade !

dabo

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • http://www.dabostudios.net
Scrolling Shooter
« Reply #3 on: November 22, 2008, 02:45:40 pm »
It won't start, says something about "Entry Point _ZTVN2sf6SpriteE Not Found in sfml-graphics.dll"

No idea what's wrong, I downloaded the dll's from the dev-files at the website.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Scrolling Shooter
« Reply #4 on: November 22, 2008, 06:44:38 pm »
He's using the Code::Blocks version of SFML binaries, not the Visual C++ ones.
Laurent Gomila - SFML developer

dabo

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
    • http://www.dabostudios.net
Scrolling Shooter
« Reply #5 on: November 22, 2008, 10:01:38 pm »
Ohh ok, I'm gonna give it another go then.

EDIT: Now it starts but the window won't show, I can hear the music though.

Leandro

  • Newbie
  • *
  • Posts: 8
    • MSN Messenger - leostera@hotmail.com
    • View Profile
    • http://www.elrincondelea.com.ar
Scrolling Shooter
« Reply #6 on: November 23, 2008, 12:17:46 am »
Hi there guys,

Thanks for the feedback.

I've tried the "game" in many computers and the Window just doesn't show unless you Maximize it from the windows Task bar it won't show. And once maximized, the game looks weird (Window Height and Width are modified by then)

I don't really know what's the problem behind this, but here is how I initializate SFML Window RenderWindow:

Code: [Select]
mApp.Create(sf::VideoMode(800,800,32),"ScrollingShooter");//,sf::Style::Fullscreen);
mApp.ShowMouseCursor(false);
mApp.EnableKeyRepeat(false);
mApp.SetFramerateLimit(30);


I don't do any destruction, resizing nor something else but drawing in the screen with this mApp (sf::RenderWindow mApp;) and doind mApp.Close() at the deconstructor of the Game class (where it is member of).

Any ideas?

By the way, if you update with http://leoostera.googlepages.com/NewBin.rar you can now aim with the mouse from 30° to -30° :D
Leandro Ostera
My Blags
Who Am I

Astrof

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Scrolling Shooter
« Reply #7 on: January 26, 2009, 04:28:48 am »
I cannot get this to work, i get:
---------------------------
scrollingShooter.exe - Entry Point Not Found
---------------------------
The procedure entry point _ZN2sf5Music7SetLoopEb could not be located in the dynamic link library sfml-audio.dll.
---------------------------

I am using the mingw dll files.