Advertisement

Latest SDL2 Activity

NubDevice
January 17, 2025 01:11 PM

Listen to Joe.
This is the exact same problem as with the slider during the blackjack romp. 
Only difference is two free range dimensions instead of one clamped linear dimension.
Cool project btw…It has more expressive potential. 

2,594 views
Advertisement
pbivens67
January 09, 2025 03:35 AM
panzer blitz

I have got the sprite to drawn to the right of the original sprite, I want the sprite to be moved by clicking and dragging the sprite

					else if (event.type == SDL_MOUSEBUTTONDOWN||SDL_MOUSEMOTION) {
						if (event.button.button == SDL_BUTTON_LEFT) {
							int mouseX, mouseY;
							SDL_GetMouse…
887 views
Alberth
January 03, 2025 01:16 PM

pbivens67 said:
my only problem is how to implement the computer player

Make it play at a random valid position at first, and improve from there.

Optimal play (as in, aiming for the shortest way to winning) is a solved problem, but it's so good that you have no chance at all (especially if it plays fi…

2,044 views
pbivens67
December 28, 2024 09:08 PM

I am switching to an exercise in my book, I want to sort the batting  averages and names and print them to the screen

#include <iostream>
#include <string>

using namespace std;

class Average
{
private:
	string name[12];
	double avg[12];
public:
	void getData();
	void sortData(stri…
54,013 views

Recently I've decided to remake an old game I did on college. Here is the repo and itch.io:

https://github.com/arthurmoreno/campo-de-batalha

https://arthurmoreno.itch.io/campo-de-batalha

But I am not satisfied with the build / release process I've came up for windows. I would like some advice on how t…

1,021 views
Nick72c
July 03, 2022 01:47 AM
Parallax Zoom!! Gone Green!!

With no-one coming forward to offer artistic support I pushed forward and reworked / improved to my limitations, all background graphics.

Then added the remaining lives indicator and improved AI attack patterns,

From very early on in the games development I wanted to use a restricted number of textur…

6,988 views
ZerohBeat
March 31, 2020 05:25 PM
Finally I made a game.

Hi, its Aleks. 

This is my post mortem of making my first game from start to finish and publishing the game.

Game Page: https://zerohbeat.itch.io/zerohbeat-adventure

My game is a very simple and very short Adventure / Visual Novel style game

The game is built using:

  • C++ and SDL (for rendering, wi…
4,459 views
Advertisement
Advertisement
Advertisement