Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Game programming for facebook

Author
Message
Facebook game
14
Years of Service
User Offline
Joined: 8th Jun 2012
Location:
Posted: 8th Jun 2012 18:27
Is it possible with DBP to program a game to run on facebook?
Please advise. Or I will attempt to learn Python+Pygame.
Thank you.
David

DSellers
zeroSlave
17
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 8th Jun 2012 19:58
I've never made a game for facebook, but I don't think it would be feasibly possible to create a game for it with DBP. My guess would be to get into Flash and Javascript to do this.

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.
Facebook game
14
Years of Service
User Offline
Joined: 8th Jun 2012
Location:
Posted: 8th Jun 2012 20:42
Cool thamk you. I see (Googling) that most are indeed java, flash, python, etc... OOP (object oriented programming)
However...I found this.
http://www.youtube.com/watch?v=1aF5_0Bqjxc
You see years ago I practiced learning programming...QuickBASIC (not Qbasic) now I am OLD...lol sooo...I love FPS's and want to create one in the vein of, STALKER, RAGE, FALLOUT, Borderlands...
For PC. Then I thought...Hey, while I am at it I will attempt to build a 3D Game for facebook (get paid!...lol)(not FPS...facebook has Brave Arms MP FPS) but, something like an RPG riddle hunt thing. Anyway...it has been sooo long (programming) I thought while learning DBP and FPSC I could take what I learn and apply that to the facebook game. Any thought???
And Thank You again for replying.
David
By the way I am an Artist by trade...so I think I can do some killer maps and textures for my DBP FPS game.

DSellers
Mr Bigglesworth
18
Years of Service
User Offline
Joined: 4th Mar 2008
Location:
Posted: 8th Jun 2012 23:03
DBP and FPSC only build games for the Windows Desktop, the reason being they create .exe's that use DirectX.
zeroSlave
17
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 8th Jun 2012 23:31
Yup, same here. Programming stuff like pong in Qbasic in the late 80s. In DBP, you can sort of fake OOP by using UDTs, arrays, and functions. I do a bit of Java programming, but I do a lot of quick prototyping in DBP. It works great for throwing some quick media in a program and see how they can interact together without having to update several classes and media batches to accommodate. Being a bit of an artist myself, I find DBP makes it that much easier to get your creations into interactive application.

If you have experience in the BASIC language, DBP will be pretty easy to grab on to. It uses the same syntax, and a lot of the commands are the same (such as len$(), mid$(), ink, line, box, etc.) while adding some easy and great commands such as: load object, load image, etc. It also has some nice advanced things like memblocks and nice shader support.

If you are wanting to expand on your programming, and hit different platforms, I suggest Java. It is versatile, has cross platform functionality, JIT is a nice thing to utilize, and there are quite a few nice APIs available.

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.
Facebook game
14
Years of Service
User Offline
Joined: 8th Jun 2012
Location:
Posted: 8th Jun 2012 23:56
Thanks...
I am going to continue learning FPSC and also DB Pro for my shooter ideas. For facebook...hmmm...I downloaded Python and PyGame.
But, you think I would be better off with java? For the facebook thing. Cool...
Have you ever had any experience with Python and where is the best place to learn DB and FPSC?
Thank you for your replies.
David

DSellers
zeroSlave
17
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 9th Jun 2012 00:08
I'm not sure about Java for facebook. They might have a similar syntax, but Java and Javascript are not the same thing. Python, I'm not sure about. It'd be best to do some google searches for tutorials, and Python related forums and such. There is also a Programming Talk board on the forum where you might find some help.

However, as far as learning DBP and FPSC, you're in the right place. DBP has some great help files included (F1 in the editor) and the search button at the bottom of the forum is really useful for finding related issues and solutions from other members of the TGC forums. I don't use FPSC, so I'm not sure about help files, but I do know there is a very active FPSC board here on the forum.

Best of luck!

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.
enderleit
19
Years of Service
User Offline
Joined: 30th May 2007
Location: Denmark
Posted: 13th Jun 2012 23:28
I'm pretty sure you can use Java Applets for making Facebook games.

Also here is a pretty good and free book for learning Python:
http://www.diveintopython.net/

basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 14th Jun 2012 18:32
you can use HTML5 to create games for facebook. it's more universal and easier to implement on this site.

personally am not interested in facebook at all. I'd rather stick with windows games. as window 8 and tablets are coming out in few month and device manufacturers are very prepared to kick other platforms for windows.

Scraggle
Moderator
22
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 14th Jun 2012 22:13
I was writing Worms for Facebook in Actionscript. Sadly the company that I worked for went bust and couldn't pay my wages, so I left.
Two weeks later Team17 bought out the company so they could continue writing the game. Unfortunately I had burnt my bridges because of the lack of wages so I can't go back.

It was supposed to be available in December 2011 so I guess they didn't do so well without their lead programmer.

Anyway, the point of the story is - use Actionscript, you can't use DBP.
Anigma
15
Years of Service
User Offline
Joined: 25th Mar 2011
Location:
Posted: 15th Jun 2012 03:10
Quote: "I was writing Worms for Facebook in Actionscript. Sadly the company that I worked for went bust and couldn't pay my wages, so I left.
Two weeks later Team17 bought out the company so they could continue writing the game. Unfortunately I had burnt my bridges because of the lack of wages so I can't go back.

It was supposed to be available in December 2011 so I guess they didn't do so well without their lead programmer.

Anyway, the point of the story is - use Actionscript, you can't use DBP. "


I took away a different point from your story. If a company that got bought out by another company STILL can't get a Facebook game out the door in over a year's time, it's probably not gonna happen for some one man band working on it at home in his spare time, let alone one that's going to make some money.

I should know. I've done it (not on Facebook, but on portals). After 6 months of pretty much sheer development hell where I spent every waking moment not at my dayjob working on my game, I moved about 20 copies and made about $40. But hey, I look at the bright side. Factoring in the money it cost to hire a voice actor, an artist, a composer and pay for recording studio time, development tools, assorted media and so on, I only spent about $4000 to earn that $40. Others have had similar results with a much larger investment. I also took away from that the valuable experience that can only come from writing a complete game from start to finish. Considering the cost of a 2 year degree in game design, I got off pretty cheap there as well.

My point I guess is don't count your chickens before they hatch (or are even eggs in this case). You can't just throw a homebrew game on Facebook and make money. Unless your name happens to be Zynga....

-Anigma

It compiled! Ship it!

Login to post a reply

Server time is: 2026-07-07 17:08:23
Your offset time is: 2026-07-07 17:08:23