QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: qbkiller101 on January 16, 2021, 01:13:00 pm
-
Hey!
So I've made this game jam on itch.io for games made with QB64.
It is a 10-day jam from 1st Feb till 10 Feb. And 10 to 14 is the rating and voting period.
You can join it at https://itch.io/jam/qb64-game-jam (https://itch.io/jam/qb64-game-jam).
Please try to make builds for all three operating systems: Linux, MacOS, and Windows.
-
🤩
-
The Judges and Hosts are:
me
@FellippeHeitor
The theme will be discussed between us and posted here, on discord, twitter, and itch.
-
I've joined, very excited about this! Never done a game jam before, though I've been doing game design all my life.
-
Where can I find info on building for Linux and Mac? I've only ever compiled programs for Windows.
-
Although we do support all three platforms, we don't do cross-compilation. You must be running QB64 in those systems to generate a binary for them.
At present, our sound library became incompatible for compilation in the latest macOS Big Sur - but binaries precompiled in other versions of the os still work fine. If you can, target macOS Catalina or Mojave. That way your compiled game will be able to work fine from there up.
-
10 Days to start
-
Where can I find info on building for Linux and Mac? I've only ever compiled programs for Windows.
For Linux, you can use WSL.
More on that here: https://docs.microsoft.com/en-us/windows/wsl/install-win10
Its easy to install.
From windows store get ubuntu, kali, or any linux distro, (not all are there), and some more steps, then compile.
You'll have to get qb64 and use command line arguments to compile as it has no display, tho you can get displays: https://medium.com/for-linux-users/gui-linux-on-windows-is-coming-7c199b15b72
Shift to discord ill tell you.
-
I've run QB64 on WSL using VcXsrv and it works OK. There are tearing effects when I move or resize windows. Since I could fall back to native windows, I never dug in deeper.
-
7 Days to go!
and 7 people joined :|
Please join people.
-
Sounds kind of fun. Im thinking of entering, but not sure yet. Are there any restrictions on using external files? (Sounds, images, etcs)
Edit: I just read where to make builds for all os, i do t think I could do that here.
- Dav
-
No no you can freely use libraries, c++, sounds, images, everything
and its not required to make builds for all OSes, just preferred in case you have another os lying somewhere
and you need to post source code
so people with other OSes can build in case you haven't.
If you made builds for all then no need.
-
Or is this just a way to collect free games without searching the archives or building them yourself? Are you sure it's not hosted on Scamazon.com?
Pete
-
7 Days to go!
and 7 people joined :|
Please join people.
In 1964, Simon and Garfunkel, release a song entitled, "The Sparrow"
To quote line 5 of the third stanza, "I would if I could but I cannot I know."
Thank you for the invitation. I look forward to seeing the results.
J
-
Thanks for clarifying for me, @qbkiller101.
- Dav
-
Or is this just a way to collect free games without searching the archives or building them yourself? Are you sure it's not hosted on Scamazon.com?
Pete
This is itch.io and is one of the most famous platforms for game jams,
So please look it up before saying it's a scam
Itch.io is a website for users to host, sell and download indie games. Released in March 2013 by Leaf Corcoran, the service hosts nearly 100,000 games and items as of February 2018. Itch.io also allows users to host game jams, events where participants have limited time to create a game. https://en.wikipedia.org/wiki/Itch.io (https://en.wikipedia.org/wiki/Itch.io)
You might've heard of Among Us. It's made there.
A game jam is a contest where participants try to make a video game from scratch. Depending on the format, participants might work independently, or in teams.https://en.wikipedia.org/wiki/Game_jam (https://en.wikipedia.org/wiki/Game_jam)
-
Only 8 people joined and 4 days left.
I might delay it a week :|
-
Why itch?
-
Well, it's one of the best and most popular platforms for hosting game jams.
And games.
-
Delayed 3 days as only 9 people have joined
-
Changing the date won't make much of a difference unless some promotion is done to attract new participants, and it's hard to tell how many QB64 programmers interested in a jam actually exist in the first place.
-
I would also caution against delaying too much. People often set aside time for game jams, and if you move the schedule, they may have to choose between setting aside even more time, or pulling out.
-
Sure would be nice to if all you had to do in life was put up a minimal information post, and things would go as desired.
In lieu of that...
Polling the community for interest before making plans is advisable.
Post an eye catching invite, followed by a well thought out description, and minimal entry response to hold the event.
Advertise on all gaming and coding platforms, and it is helpful to have other admins, of those forums, onboard with the idea. Networking = less working.
Keep a planned date or cancel. If you don't have enough entries to host it, you probably won't have enough entries by rescheduling it, and you'll also lose entries who cannot make it on the new date, as well as aggravate those who have already made plans to attend on the original date.
Make sure you have a few over whatever minimum need to attend, because 100% show is almost impossible in any event.
Now if there really is no minimum, quit with the rescheduling. Just host it for a smaller than anticipated group, and see how it goes. If it's a hit, the next one will be bigger and better. That's just word of mouth advertising, the best free advertising money isn't needed to buy.
Anyway, just my two-cents on event planning. I've put together several large golf tournaments for over 30 years, so I feel my two-cents are worth every penny.
As far as this event goes, I hope it does take place, is just about fun and profits the participants, rather than just giving code away.
Pete
-
Ok I'll try to do something good.
I'm on board now!
-
Elephant in the room is that there is already a Tic Tac Toe (jam, yuck) taking place. Maybe we should just make that the theme and call the effort salvaged.
-
Elephant in the room is that there is already a Tic Tac Toe (jam, yuck) taking place. Maybe we should just make that the theme and call the effort salvaged.
Least LOC or least bytes, AI must always win or draw or must give humans a break once and awhile, honorable mention for most beautiful or clever or imaginative like 5D?
Jam is always better with peanut butter. (yuck, yuck)
-
I came close to enrolling, @qbkiller101, but my work/gigs are FINALLY starting to pick up again so I decided not to enroll. Also, I got into converting my old interpreter/compiler project to QB64, and that took my interest. I may post a tutorial on doing that soon - it's real easy in QB64 to turn interpreters into bye-code compilers that make EXE's.
I may join the game jam it next time around, because I like make puzzle games.
- Dav
-
it's real easy in QB64 to turn interpreters into bye-code compilers that make EXE's.
Really? I'm eager about this one... :-)
-
Really? I'm eager about this one... :-)
Okay, I'll post something soon.
- Dav
-
I came close to enrolling, @qbkiller101, but my work/gigs are FINALLY starting to pick up again so I decided not to enroll.
No Problem :)
-
for @Dav
if you are interested ...there is no need to be in "bytecode " that you can produce .exe
you need binder
look here ....
http://www.jose.it-berater.org/smfforum/index.php?topic=5733.msg24307;topicseen#msg24307
I think that something similar can be made in QB64 without to much troubles
-
Hi @Aureal. Thanks for the link. I haven't used OxygenBasic before, but looking at that source code, I *think* that's actually what I'm doing (https://www.qb64.org/forum/index.php?topic=3588.0), binding a source to a runtime exe that loads itself. But I'm saving the exe size in itself too, not an external .cfg file. Perhaps 'my calling this a bytecode compiler is not correct...not sure what to call it actually. A Binder sounds good to me.
BTW, thanks for your nice comment on my IDE in another thread. I meant to reply thanks over there.
- Dav
-
I haven't used OxygenBasic too, because I don't want blonde hair.
-
According to the timer on itch.io, it seems the game jam has been pushed back another 12 hours without notice? What's going on?
-
Deadline still 10 Feb? Or needs to be pushed back as well
-
And the theme is: *drumroll*
Anti-Gravity!
-
And the theme is: *drumroll*
Anti-Gravity!
Well I'm all set then. I'll just code Tetras, backwards.
Pete
-
I suddenly find myself saddled with two really cool ideas - one for the real theme, and one for the fake theme that someone was suggesting a few days ago, "tic tac toe." Got in a little over my head, it seems. Oh well, this will be fun at least!
-
Looking forward to the end results of this Game Jam! I would have signed up too but I'm split between work and another QB64 project right now.
-
Hi All
I have had an idea for the Game Jam, a hover board control game -
Hover Board Balls
idea of the game is to control a hover board keeping it on screen
controls are "a" fires the left had hover jet "d" fires right hover jet
when the board tilts the hover jets also push it in that direction
balls fall from above
the balls are supposed to fall on to the board pushing it down where on
the board it lands
I am not sure how to do the ball board collision and make the balls push down (add gravity) on the board then roll
off the board in the direction it is tilled and at speed based on the pitch of the board angle.
Any one interested in helping?
Here is what I have so far. [ This attachment cannot be displayed inline in 'Print Page' view ]
Brian ...
-
Brian,
Not sure if this will help.
These functions I use work with RCBasic but should not be difficult to convert
This one is for detecting the collision between two circles:
Requires the x and y coords of each circle and the radius of each circle.
function collide(circ1x, circ1y, circ2x, circ2y, r1, r2)
' Calculate difference between centres
distX = circ1x - circ2x
distY = circ1y - circ2y
' Get distance using Pythagoras
dist = sqrt((distX * distX) + (distY * distY))
if dist <= (r1 + r2) then
collision = 1
else
collision = 0
end if
return collision
end function
This one detects the collision between a circle and rectangle:
Requires the x and y coord of the circle and it's radius. The x and y coords of the rectangle together with its width and height.
function collide(cx,cy,radius,rx,ry,rw,rh)
distX = abs(cx - rx - rw / 2)
distY = abs(cy - ry - rh / 2)
if distX > (rw / 2 + radius) then
return false
end if
if distY > (rh / 2 + radius) then
return false
end if
if distX <= rw / 2 then
return true
end if
if distY < rh / 2 then
return true
end if
dx = distX - rw / 2
dy = distY - rh / 2
return (dx * dx + dy * dy <= (radius * radius))
end function
I hope this helps....
J
-
I'm going a bit loopy trying to deal with the can of worms that is my core mechanics for this game. When someone says "antigravity," it might not be a good idea to add magnetism to that...
On the bright side, my game can handle sideways gravity too, if I want it to.
-
Wow, this is bizarre.
if n
> 1000 or node
(n
).parent
> 1000 or p
> 1000 then
I dim'd node(1000) in the header. Somehow I'm getting a subscript out of range on line 5, and I'm never seeing anything printed to the screen by line 3. Which means n, node(n).parent, and p are all <= 1000, thus valid subscripts for node()...
Think I'm giving up for tonight, this seems like a hard logical impossibility and I'm up around 2500 lines of code already. This bug was uncovered by my fixing an infinite loop bug caused by recursively creating infinite back and forth nodes.
-
if you ever REDIM that array, make sure to repeat AS type.
-
I don't have a single redim in my code. I generally don't use redim at all, though that's probably not ideal practice.
EDIT: During convo on Discord, I found the problem. The first node in every search tree has a parent value of -1 to prevent being deleted when my "missing parent" cleanup runs. So I just changed this duplicate check loop to start iterating at 2 instead of 1. Only node(1).parent is manually set to -1, and node removal only collapses values to lower subscripts, so that -1 parent value can't ever escape node(1). I've made this mistake before, in my main game project!
-
Just submitted a silly little game. 😄
-
Hi All
Made a last minute submission of a simple little game "hover boy", only seems to be 2 entries so far.
Brian ...
-
With some minutes remaining, If anyone is about to finish the game but may take a few time, please say so.
-
And the jam has ended!
To all late people, please contact as mentioned on the page.
https://itch.io/jam/qb64-game-jam (https://itch.io/jam/qb64-game-jam)
-
I thought I was done, but was hit with a compilation error at literally the last minute, so that's that I guess. I can reuse some of the code elsewhere, at least.
-
Contact on Discord @Gets
-
I've left feedback for all three games (so far). I hope you find the feedback helpful and fair.
-
I've left feedback for all three games (so far). I hope you find the feedback helpful and fair.
Thanks! V helpful.
-
Great to get feedback thank you for taking the time.
Brian...
I've left feedback for all three games (so far). I hope you find the feedback helpful and fair.
-
Where is feedback?
-
Where is feedback?
https://itch.io/jam/qb64-game-jam/entries
-
@ahwang Gave feedback
-
@ahwang Gave feedback
Thanks qbkiller!
Hmm... don’t see your feedback though, so far can only see 40watts’ comments.
-
Great to get feedback thank you for taking the time.
Brian...
Yes, very detailed feedback too. 👍
-
https://itch.io/jam/qb64-game-jam/entries
Must have to be member all I get is a window with a frog in it. ;( First 2 entries.
Except for Hoover boy, I get a little more, oh found 40 watt comments
Oh Round Table Flip started working? Can find 40 Watt comments again.
Keep getting Froggie for Adian's? Ladida oh it alternates with Skeleton 404's both.
-
interesting game jam experience for me! Nice to see ppl playing and commenting on the games, definitely encouraging for future qb64 game development!
-
Thanks qbkiller!
Hmm... don’t see your feedback though, so far can only see 40watts’ comments.
It'll show after the voting
-
Rated all
-
It'll show after the voting
Ok thanks
-
@Adrian
Can you post your game here so I can see it? (maybe some others too for various reasons they dont want to get into <3 ) May we see it? please,
-
@Adrian
Can you post your game here so I can see it? (maybe some others too for various reasons they dont want to get into <3 ) May we see it? please,
Hi blus,
Sure! (assuming that it's ok under the game jam rules). Spoiler alert: solutions to the quest are obviously in the source code, so peek if you get stuck :)
Cheers!
PRINT " You are on a quest to find the magical land of Ladida which lies " PRINT " somewhere beyond the rainbow and way above the clouds according" PRINT " to many whispered legends from our flighty friends of the " PRINT " feathered variety. You are going to need some AntiGravity help." PRINT " You find yourself in a verdant countryside. " PRINT " It's summertime, and the living is easy." PRINT " Fish are jumping, birds are chirping." PRINT " You find yourself facing a hideous half-man, half lion creature. " PRINT " It's the Sphinx, who says ANSWER MY RIDDLE OR DIE!!!" PRINT " It asks: What creature crawls in the morning, sleeps at noon," PRINT " and flies in the evening?" PRINT " The Sphinx is furious that you answered its riddle correctly!" PRINT " It is so furious that it shrieks at the top of its voice" PRINT " and vanishes, never again to blight the countryside with its" PRINT " evil presence!. " PRINT " The Sphinx is delighted that you have given the wrong answer!!" PRINT " It shrieks maniacally as it kills you!!" PRINT " That's the end of your quest! hiak hiak hiak!" PRINT " You continue your quest and find yourself in a strange land. " PRINT " A sign nearby says WOOLSTHORPE MANOR. You wander around " PRINT " and you see an apple tree in the garden. " PRINT " You decide to wait and see what happens. An apple falls to the" PRINT " ground and you suddenly recall that it was at this very spot" PRINT " that Isaac Newton was inspired by the apple to formulate his" PRINT " theory of gravity! The ghost of Isaac Newton appears and " PRINT " congratulates you on re-enacting his Eureka moment!" PRINT " The ghost of Isaac Newton appears and shakes his head with" PRINT " disappointment. Godzilla appears and crushes you to death." PRINT " That's the end of your quest! hiak hiak hiak!" PRINT " You continue your quest and find yourself in a creepy castle. " PRINT " A green witch appears and glares at you menacingly!!" PRINT " HOW DARE YOU ENTER MY CASTLE, YOU MISERABLE CREATURE!!!" PRINT " You remember the wise words of your teacher that music softens" PRINT " the hearts of the hardest of men (and women) and decide to sing" PRINT " your favourite song, DEFYING GRAVITY." PRINT " Ephaba (for it was she) is delighted that you sang her song!!! " PRINT " She gives you magic potion." PRINT " The wicked witch cackles with glee as she raises her wand!" PRINT " She turns you into a frog and you live unhappily ever after." PRINT " That's the end of your quest! hiak hiak hiak!" PRINT " You drink Ephaba's magic potion and feel yourself feeling lighter." PRINT " It's an AntiGravity magic potion! You are defying gravity too!" PRINT " You rise up and up way above the clouds...somewhere over the rainbow." PRINT " You arrive at the magical mystical land of Ladida, marry the prince " PRINT " or princess of your choice, and live happily ever after!!" PRINT " Medusa appears and turns you into stone." PRINT " That's the end of your quest! hiak hiak hiak!"
-
Thanks @Adrain
Wait a sec... you had the nerve to post a measly 100 LOC in the mighty History MAKING QB64 JAM!?
Must be some 100 LOC! can't wait to check out, thanks again, this should be easy ;)
-
Dang, frustrated too quick,
Yeah, this could take some time to get through... nice
Fortunately I did not look ahead,
Being the crappy reader I am, I answer Man to the Sphinx because that is the riddle of it but no, we are more clever than that read again...
Then I answered, a coder, to same quest-i-on, seemed the perfect answer to me. LOL
but no,
@Adrian Can I get credit for a nice try?
-
HI
the three games posted are a good example of how QB64 can be used to build a game in different genres.
Thanks to Ahuang I have played the first time to an adventure text game
Thanks to 191Brian I have played flying in the sky
Thanks to FrozenFireBird I have enjoyed to play to puzzle game
for this time my contribution has been to subscribe the run. (So many ideas and so few lines of code...)
It will be for the next time!
-
Who else would be interested in participating in a future QB64 game jam? I sat this first one out but would be interested in joining one later.
I think 7-10 day duration for a game jam is pretty reasonable. Makes it much easier for those of us that still have our day jobs to attend to.
-
Hi
Was great fun to get involved in the Game Jam and the feedback has encouraged me to keep going and do more and hopefully improved programming.
Thanks to all involved in setting up the Game Jam and all those that took time try out the games and comment & rate them.
Brian ...
-
Who else would be interested in participating in a future QB64 game jam? I sat this first one out but would be interested in joining one later.
I think 7-10 day duration for a game jam is pretty reasonable. Makes it much easier for those of us that still have our day jobs to attend to.
I would definitely be up for another one.
Brian ...
-
Dang, frustrated too quick,
Yeah, this could take some time to get through... nice
Fortunately I did not look ahead,
Being the crappy reader I am, I answer Man to the Sphinx because that is the riddle of it but no, we are more clever than that read again...
Then I answered, a coder, to same quest-i-on, seemed the perfect answer to me. LOL
but no,
@Adrian Can I get credit for a nice try?
Bplus,
Of course! Very nice try 👍
-
HI
the three games posted are a good example of how QB64 can be used to build a game in different genres.
Thanks to Ahuang I have played the first time to an adventure text game
Thanks to 191Brian I have played flying in the sky
Thanks to FrozenFireBird I have enjoyed to play to puzzle game
for this time my contribution has been to subscribe the run. (So many ideas and so few lines of code...)
It will be for the next time!
Hi Tempodibasic,
Looking forward to your game next time! Cheers!
-
I would definitely be up for another one.
Brian ...
Me too.
-
I didn't finish on time for this one and probably would have less time in the future so I don't know if I'd be able to participate, but it's a fun experience if you have the time for it. Would be a good idea to announce directly from the main QB64 twitter account before it starts, maybe.
Anyways, after getting some sleep I was able to fix the problem I had compiling, so I attached my game here.
It's a simple side scrolling action game where you can make use of a antigravity shot. It tosses everything it touches into the air, so you can use it as a shield, to navigate the screen, etc. As a shield it neutralizes energy fire and causes the bullets to harm enemies instead.
Controls:
Keyboard
esc: exits
left, right : run
up,down: aim gravity shot
x: jump
c: punch
spacebar: gravity shot - first press shoots, second press activates it, third recalls it.
Also works with gamepad
On my gamepad, A jumps, X punches and Y is the gravity shot, but I didn't have time to set up any kind of option to configure controls
-
@Gets Hey . . . I thought this was the QB64 game jam, not the SNES game jam.
All jokes aside, wow, your game looks really good. Granted, I know myself how easy it is to just import nice graphics with _PUTIMAGE but this is the level of graphics I'd rather see in a qb64 game than things made with circle and line statements.
The scrolling background is nice and I like how the game stops progressing until you clear off all the enemies.
Your game also makes nice use of the anti-gravity theme. It definitely takes some timing, but I did like how you could stop your anti-gravity ball in midair and jump into it to jump even higher and punch flying enemies.
Controls for the most part are pretty good (I only played with keyboard) -- I occasionally got jump and fire mixed up.
My only real suggestion for improvement: Sometimes it can get a little hectic trying to manage your anti-gravity ball, dodge enemies by jumping and positioning oneself correctly to punch other ones. Maybe simplify the anti-matter weapon since that takes the most concentration as one always has to consider if the projectile is still moving, stopped or returning.
Good job! It looks and plays very similar to a late-era NES or early SNES title.
-
I didn't finish on time for this one and probably would have less time in the future so I don't know if I'd be able to participate, but it's a fun experience if you have the time for it. Would be a good idea to announce directly from the main QB64 twitter account before it starts, maybe.
Anyways, after getting some sleep I was able to fix the problem I had compiling, so I attached my game here.
It's a simple side scrolling action game where you can make use of a antigravity shot. It tosses everything it touches into the air, so you can use it as a shield, to navigate the screen, etc. As a shield it neutralizes energy fire and causes the bullets to harm enemies instead.
Controls:
Keyboard
esc: exits
left, right : run
up,down: aim gravity shot
x: jump
c: punch
spacebar: gravity shot - first press shoots, second press activates it, third recalls it.
Also works with gamepad
On my gamepad, A jumps, X punches and Y is the gravity shot, but I didn't have time to set up any kind of option to configure controls
Great looking game...@Gets, a pity you couldn't compile it in time. Superb graphics, sound effects, music, use of gravity.
Like HoverBoy, I think the game will be more exciting if the player gained points for killing monsters or progressing to next levels. :)
Nice!
-
My only real suggestion for improvement: Sometimes it can get a little hectic trying to manage your anti-gravity ball, dodge enemies by jumping and positioning oneself correctly to punch other ones. Maybe simplify the anti-matter weapon since that takes the most concentration as one always has to consider if the projectile is still moving, stopped or returning.
Yeah, probably would help a bit to remove the returning portion and have it fade out over time.
When I get to the stage as shown in the attached screenshot, I can leave my character and she never loses any lives or energy despite being hit by the laser bombs. :)
The bombs fade out shortly after they're fired, so hopefully you're just at the perfect distance for them to disappear right before hitting you.
-
Sure! (assuming that it's ok under the game jam rules). Spoiler alert: solutions to the quest are obviously in the source code, so peek if you get stuck :)
Of course, and btw, after the jam, these games will be available on your profile for anyone to see, whether or not they have an itch account
-
I would definitely be up for another one.
Brian ...
Well, I was thinking of having this as a semi-annual thing, should I?
This time I'm asking cuz the jam was very, well, you know.
-
Well, I was thinking of having this as a semi-annual thing, should I?
This time I'm asking cuz the jam was very, well, you know.
Yes.
-
Well, I was thinking of having this as a semi-annual thing, should I?
Semi-annual sounds about right. I imagine the theme also plays a large role as to how many people participate. Personally, random themes can be quite fun, but you also risk losing potential participants if the theme just so happens to be something they're not interested in or have an idea for.
-
Hoover Boy really nailed the Theme, IMHO.
-
The important thing about the theme is that it be open ended and lend itself to multiple interpretations. The speculative theme I saw tossed around - tic tac toe - is a bit too prescriptive, since tic tac toe itself is a very rigid formula and famously dull. That said, I did have a good idea for that theme...
-
Can also suggest several themes and vote to choose the most popular one.
-
I was thinking taking up the challenge of the famously dull like TTT and seeing what people might do to make it better but
then I was reminded of lipstick for the pig. ;-))
On the other hand, beautiful is bacon on my burger.
Oh must be lunch time!
-
Can also suggest several themes and vote to choose the most popular one.
Well I was thinking of that, so I'll set up a Form (Google Forms) and then vote.
-
I was thinking taking up the challenge of the famously dull like TTT and seeing what people might do to make it better but
then I was reminded of lipstick for the pig. ;-))
I'm reluctant to say much, since it's still very early in coding and no assets yet, but... I may just have found the perfect lipstick.
-
Must be the color of an apple :)
-
It's the color of a deckbuilding dungeoncrawler, along the lines of Dicey Dungeons or Slay the Spire.
-
Hi All
For those interested in Game Jams there is one coming up on itch specifically for games written in any Basic dialect.
QB64 gets a mentioned in the list of dialects.
https://itch.io/jam/jam-for-all-basic-dialects (https://itch.io/jam/jam-for-all-basic-dialects)
-
For those interested in Game Jams there is one coming up on itch specifically for games written in any Basic dialect.
QB64 gets a mentioned in the list of dialects.
https://itch.io/jam/jam-for-all-basic-dialects (https://itch.io/jam/jam-for-all-basic-dialects)
Cool! I went ahead and signed up for that one.