New Thread
Name
×
Email
Subject
Message(0/20000)
Files* Max 5 files50MB total
Tegaki
Password
Captcha*
[New Thread]


Jschan updated, report in >>>/meta/ if anything is wrong

Keep at it, Anon!


laserpointer.png
[Hide] (529.6KB, 1284x804)
stairs_again.webm
[Hide] (11.9MB, 1282x802, 00:42)
clamp.webm
[Hide] (6.7MB, 1282x798, 00:30)
swim.webm
[Hide] (14.2MB, 1282x798, 00:47)
metrics.png
[Hide] (1.7MB, 1920x1013)
Alright, I said I'd stop shitting up the progress thread so here it is. I'm beginning to plan to prepare to lay the preliminary groundwork for an old-school 3D MMORPG in the vein of Everquest, Meridian 59, Ultima Online, and others. I'm pretty much rolling it from scratch, using Raylib for a lot of the input/rendering/sound/etc. functionality plus a few more libraries for XML handling, UDP networking, serialization, and that's about it. You can see some project background and the progress up to this point in the progress thread starting from here: >>755

Spent some time yesterday working on the character controller. Getting capsule -> mesh collisions working wasn't too bad, but getting proper FPS style movement out of it was a fucking nightmare. I ended up raising up and shortening the capsule so it wasn't colliding with everything and anything, using a raycast from the center down to handle different surfaces and steps and the like, while using the capsule to collide with walls/ceilings/very steep slopes. Played with the swimming a bit too, still some funkiness with getting in and out of water. Some shots showing part of the setup for developing the movement metrics - slopes to test walking up and down steps without skipping and bumping, as well as test walking into slopes too steep to traverse. Also got some steps to test what heights the player should be able to automatically step up onto without jumping. TODO:
Message too long. View the full text
6 replies and 12 files omitted. View the full thread
>>946
Tested with a 22 x 22 x 22 grid of evenly spaced AABBs (total of 10648). I was a little worried at first when I saw 4.5-5 ms time to cull, but then I remembered I was building with debug flags and no optimization. Rebuilt with -O2 and got ~1000us. Culls 10648 down to about 1400-1500 visible by the way. Seems to work well enough for now. Time to actually get some complex terrain and entities in here.
>>943
From the looks of it, you gotta generate collision mesh either way. Or you can have "minimal" height, which probably look better. If player character Z position stays within minimal range, it doesnt visibly change. Ideally you will have torso stay within range, and legs will bend when needed. Not sure how it would look with small ramps tho, but you can figure it out. Also, benefit of collision mesh is loading what player will be able to see from it. 
Also, easier solution, is to not give small objects collision.
Replies: >>953
oct1.png
[Hide] (308.5KB, 1285x805)
oct2.png
[Hide] (89KB, 1284x805)
octree.webm
[Hide] (2MB, 1284x804, 00:17)
Octree implemented. Got to thinking and came to the conclusion that you can't really get around using one. Got the idea of how to implement properly from thinking about how I would bin each mesh triangle into its respective "chunk" without duplicates or gaps, when I split the zone terrain mesh(es) for rendering/loading. I start by loading all of the models/meshes/whatever. Then, I get an AABB that encompasses them all exactly, which is easy enough, you just find the smallest and largest mesh x point, smallest and largest mesh y point, etc. Then, if I'm encompassing more than 8 meshes in that AABB, I split that AABB into 8 dividing by the length, width, and height. That gives me 8 new AABBs, which I bin the meshes into according to their AABB center point (again, simple to calculate). Then, I recurse, which of course, means for each child AABB, I resize to properly enclose the mesh AABBs, then see how many their are, if more than 8... and so on. I use some flags to indicate empty/leaf node/etc. too. Memory management handled with shared_ptr, as in each Octree has "std::shared_ptr<Octree> nodes[8];" which are instantiated as needed. No malloc/realloc bullshit. 

The idea for mesh chunking is basically the same except splitting in on a regular 3-dimensional grid, then sorting and re-meshing the tris in each according to originating mesh/mesh material. Those smaller meshes, of which there may be thousands, can then be view culled with an octree. Next thing I have to think a
Message too long. View the full text
Replies: >>955
capsule_explained.png
[Hide] (104.2KB, 1200x900)
>>948
There is a collision mesh. Or do you mean a simplified, collision-only mesh? I have no plans for any kind of inverse kinematics and I don't really want the feet clipping into the ground any more than they do now (which I spent a long time getting right). I made this pic to show exactly what I'm dealing with. The top half shows some of the problems encountered with a "naive" capsule collider implementation. On flat ground it behaves ok. However, on stairs it's all sorts of fucked. You can get stuck in a floaty halfway-between-stairs state, plus you can't ever really approach the side of the step. On slopes too, you will always be floating a bit off of the ground and it gets worse as the angle increases. Not to mention the way you fly and bounce going down a slope. My approach is the bottom half. I use a capsule for normal wall/ceiling collision, and a ray for ground collision/detection. Raising the capsule lets you get right up to the edge of steps, then "pops" you up to the next one immediately with no "in-between" state - you're either on one step or the other. On slopes, too, it places your origin position exactly on the z-axis value of the slope at that point. I also use a longer ray when moving horizontally or downwards, to detect and "clamp" the player to the slope so you don't bounce down it. 

The only "bug" I've encountered so far has been falling down into small gaps that the player shouldn't normally 
Message too long. View the full text
octree2.webm
[Hide] (4.8MB, 1282x800, 00:21)
>>949
Thought it would be cool to show the frustum so I gave it a try.

bb4.jpg
[Hide] (74.2KB, 642x482)
bl1.png
[Hide] (30.9KB, 640x480)
bl2.png
[Hide] (106.7KB, 640x480)
https://ily888.itch.io/billys-quest-for-love

instruction manual → https://shithole.neocities.org/gggg.html

UPDATED JUNE 2023!!

r18+ nudity , drugs and course language. Guide Billy in his life searching for love. go to school, interact with the residents of the village, and find love! maybe.. Your choices will affect later events. Working time clock 1 sec is 1 min. game ends on the 5th day. the usual game flow goes like this: go to school in the morning, wait for it to get dark outside, then go to sleep in the bed, repeat until day 5.

Controls: Arroy keys to move. z is accept/interact. x is menu/cancel.

Bugs:-flying the airship over doors will get u stuck.
-dont press any directions during scripted events like the intro, u will get stuck.

update 2023:
-fixed skipping school bug.
Message too long. View the full text
Moved to progress thread >>749
Will lock this one and let it slide down the board for now. Let's keep these sorts of update posts to the progress thread. If someone wants to make a "showcase" thread for people to shill their completed projects, that would help. If not, I'll make one.

tools1.jpg
[Hide] (178.2KB, 1247x1024)
view_from_anor_londo.png
[Hide] (2.2MB, 1920x926)
metroid_prime.png
[Hide] (1.9MB, 1920x927)
highpass.png
[Hide] (1.2MB, 1920x867)
soldunga.png
[Hide] (2MB, 1920x865)
All-purpose tools thread - post anything you found that's useful to you. 3D/2D CAD, image editing, digital painting, animation, audio/music creation, level editing/design software, the essential game developer's toolbox. 

I came across these two sites a while back, online 3D game level viewers. The first is noclip: ht tps://noclip.website - a site where you can load up levels from a decent list of games and fly around in them, no-clip-mode style. Some very cool stuff in there, gives you a nice "behind the scenes" look into how your favorite game levels were put together. Definitely check out the Dark Souls maps there, absolutely brilliant. The level of detail put into far away parts barely visible is nuts, try to find all the low-poly firelink shrines there are, visible from other sections of the game. The other is a similar tool, but for Everquest maps - ht tps://eqmap.vercel.app/ . Awesome old-school, low-poly, 90's BSP/CSG-type levels, if you're into that. Check it out and get a look at the kind of claustrophobic, meandering MMORPG dungeon maps that existed before narcissistic 3rd-person cameras took over.

What are you using, Anon? What's your workflow look like?

Game_Screenshot.png
[Hide] (11.9KB, 384x288)
Not spoiling anything, but how does this look?
Replies: >>464 >>465
>>463 (OP) 
It looks a bit plain. The look could work with more detail (especially the background), maybe add some shading, round off the hard angles and perhaps add an outline to the character? You should show some other parts to give a more complete impression.
>>463 (OP) 
Looks like it's made in Scratch.
Screenshot_20230316_072502.png
[Hide] (8.1KB, 609x456)
Found the game, I don't think the guy who made the post actually made the game. still cool though. https://scratch.mit.edu/projects/792294181/
Screenshot_20230316_072502.png
[Hide] (8.1KB, 609x456)
If Anything The Creator Could've Leaked It To One Of Their Friends, since this image was before the game was made and also didn't have variables.
One suggestion I would give if this is the creator though is decorations in the background, since that could be accomplished in scratch.

Screenshot_(615).png
[Hide] (5.8KB, 833x750)
Hiya /agdg/, 
I have this neat GBstudio game that I made. Its called Star Sentinel. Its only $4.99. It has 13 levels. You can see the gameplay in LV 2 in the picture. You can get it here: 

https://gamejolt.com/games/Starsentinel/763601
7 replies and 1 file omitted. View the full thread
Replies: >>457 + 4 earlier
>>434 (OP) 
game is now free
Replies: >>459
>>457
Please stay encouraged Anon. This kind of effort is always a process, be patient. Congrats on your game BTW, please keep working on it! Cheers. :^)
Replies: >>460 >>462
>>459
I'm clueless about programming and just happened to be wandering through here but will second this. Your enthusiasm is commendable, but it takes a lot of time and effort to hone your talents no matter what field you're working in. Keep pushing yourself further and don't give up what you're passionate about.  I wish you the best of luck.
Replies: >>462
Since you shared it for free now, I'll share some thoughts after my playthrough.

The game was very basic, this isn't an insult or complaint, just an observation. The ducking mechanic seemed mostly irrelevant except for a couple of levels.  As can be seen in the OP pic, those platforms to jump on/over do not provide cover from enemy fire. They probably should. The level in the enemy ship had platforms that were difficult to notice, blending in with the background. Maybe that was intentional, to suggest alien design the protagonist is unfamiliar with.

 Despite the special medial droid treatment received at the start of the game, there are no upgrades for weaponry or health. Also, only one level seemed to have a health top up. Perhaps at a certain point, after clearing the science lab, a choice ought to be offered upgrading health or weapon power. The virus in the computer level was very sensitive, adding difficulty in an awkward way. Just a slight tap on an arrow key could overshoot the target area quite easily. I'd suggest making the maze more complex instead, with a finer degree of control for the cursor. As for the thick health bar at the bottom, it looked odd. I would make it thinner and stick it in a corner. Probably give it a percentage too, or have it change color, starting green and turning red at the lower end.

The music was pretty good, gave an appropriate vibe. Story-wise, it was solid enough I suppose, considering the length of the game. These areas had the stron
Message too long. View the full text
Replies: >>462
>>461
>>459
>>460
If it helps, some of my future work is going to be history and aftermath. I might make some of these changes and introduce them in an update eventually. I dearly appriciate your feedback.

BTW the first few levels are meant to be way, way, too basic because it was meant to give you a feel for the controls.

seasonsmemorial.PNG
[Hide] (29.2KB, 739x432)
seasonstitle.PNG
[Hide] (28KB, 732x423)
If you have any experience in ZZT game development, or are willing to learn  (8th graders made their own games with ZZT-OOP), then I am looking for help finishing my ZZT game "Seasons".

I will be handling storyboarding and planning. I've got a couple pieces of it done, but at the rate I'm doing it all myself I won't get done before I turn 40.

Even if you help make ONE board it will be greatly appreciated and you'll be credited appropriately.
Any progress? Can you opensource it on GitHub?
1669166482831026.png
[Hide] (1.1MB, 900x1440)
I am a decent programmer, I can write in Lua, C99, Common Lisp, Java and I have some expierence with C# in Unity and Python in Pygame too. I would like to help if the project is completely public domain, otherwise I would consider it unethical to contribute.
Replies: >>454
>>453
If you find this doesn't pan out, please come help us build robowaifus then, Anon.
https://alogs.space/robowaifu/
Replies: >>456
1669349891198917.jpg
[Hide] (392.3KB, 1220x2048)
>>454
Robowaifus sound awesome, thanks for giving me the link, I will look into it in my spare time and help you guys out - at the end a robowaifu is a great dream of mine too.
Replies: >>458
>>456
Y/w Anon. There's a large degree of crossover between vidya dev, and several of the sub-domains for robowaifu creation. Mechanics (as in the physics involved in bipedal humanoid motion & control), and character acting are a couple of good examples of this.

watahi102.png
[Hide] (1.1MB, 1920x1080)
Where's everyone gone?

1459208217184.png
[Hide] (231.6KB, 367x360)
Ok, seems like I'm a fucking retard and this is above my head, so I was hoping that /agdg/ can help me. I've been learning a bit of python as I made some visual novels over the years, I thought I had it ok but I'm stuck with what potentially be something stupid only because I bite more than I could handle.

I'm trying to do a simple "Breakout" style mini-game for a new visual novel I'm developing. The gameplay will be largely inspired by both Touhou bullet hell and the original 4 or 5 touhou games that were more in the breakout style. I wanted to have the main character hold a shield and him being able to hold it and toss it, holding the shield would protect him from some projectiles, but he can toss it to damage enemies to either the right or left using the mouse buttons. He should be able to move freely through a portion of the screen, and he would get upgrades through the game like extra shields, more health, and the strength of the shield, and there would be a couple of boss battles using these mechanics.

I had the flow map already planned, but the problem is
FUCKING REN'PY DOESN'T HAVE SUPPORT FOR PYGAMES ANYMORE
Reading some of the documentation, it seems like using creator-defined displayable is the way to go, but I for the life of me can't manage to display the mini-game correctly.

Can /agdg/ walk me through this like a retard? Any example code lying around? There are plenty of pygame breakout games around, but I couldn't find a single one
Message too long. View the full text
Replies: >>436
bump
Sorry it's nothing personal OP, but I didn't reply till now simply b/c I don't do Python. C++ is a much more common language for game dev AFAICT. Good luck with your quest though.
The documentation in Ren'Py regarding 'creator-defined displayable' is very straightforward to me. The creator-defined displayable is supposed to be a canvas to allow the programmer to draw anything. If you don't understand how to program your breakout game with Pygame, you absolutely will not do it in Ren'Py with the creator-defined displayable. If you don't understand the example in the documentation, you absolutely will not achieve your aim in Ren'Py.

I won't hold your hand in the details of getting this done. I will leave these hints to you:
1. Figure out how to draw a simple static (a non-moving, non-changing) colored square with the creator-defined displayable.
2. Figure out how to animate that square (move it, change size, change color, change opacity)
3. You should be able to draw multiple objects onto your displayable
4. Program a breakout game with Pygame, not Ren'Py. This is so that you understand the principles of programming and drawing a game to a screen
5. You should be able to port that logic of the breakout game onto Ren'Py's creator-defined displayable.
>>299 (OP) 
There is an engine called ursina, m8
Replies: >>438
>>436
Thanks!

Die_Hard_(DOS)_10.gif
[Hide] (18.5KB, 640x400)
How was this coded? The screen projection? 

I imagine it s the usual trig but the frame rate is so goddamn low and but the thing also dont look like it s missing framerate like it comes in steps

What to do

Curious of the source code

Also whatexisting tool that can do this by default, preferably lightweight and libre?
Replies: >>739
>>437 (OP) 
gimp

animation_easing.gif
[Hide] (387.1KB, 512x512)
animation_planning.gif
[Hide] (343KB, 512x512)
breaking_objects.gif
[Hide] (1.3MB, 512x512)
bullets.gif
[Hide] (306.4KB, 512x512)
character_design_1.gif
[Hide] (1MB, 512x512)
There's a guy that goes by saint11, he makes some pretty good pixel art tutorials.
25 replies and 80 files omitted. View the full thread
Replies: >>428 + 3 earlier
This is good stuff.
BO, I think you really should pin this thread tbh.
Highly soy tbh.
>>23 (OP) 
Only massive faggots make pixelshit.
Replies: >>429
>>428
>Implying animation principles only apply to pixel art
>Nodevs in charge of not being a retard

Show Post Actions

Actions:

Captcha:

- news - rules - faq -
jschan 1.7.0