Vshooter (entry for the competition 'virus')

Started by RemiD, March 02, 2021, 08:32:26

Previous topic - Next topic

RemiD

hi ! :)

first draft of my entry for the competition 'virus'

my goal is to create a 3d shooter where you can control a "killer cell" (like a spaceship) to fight against microbes (viruses and bacterias), in blood pipes (arteries, veins, heart)

i plan to add several kinds of cells ( nutrients/oxygen cells, repair cells, cleaning cells, detect/alert cells, killer cells) each with their own ai.
and of course bacterias, viruses, each with their own ai.


but i am going to create a simplified version first, then maybe improve it...

RemiD

#1
i am still working on the AI and on the movements detectcollisions reposition system, since there are many entities, i can't use ellipsoids+collidables or linepicks+pickables for all entities, each frame, but since the environment is made of pipes (flipped cylinders without top and bottom), i can check the distance between the center of the pipe and the entity to know if it is near the border of the pipe, and only use linepick+pickables when necessary...

many others things to do ???

RemiD

#2
testing my approach to pre-detect a collision with distance3d check only.



i only use a distance3d check between the center of pipe and a moving entity (cell, virus, bacteria, bullet), and a distance3d check between a moving entity (bullet) and another moving entity (cell, virus, bacteria)

then only if the distance is less than Radius+Speed+OtherRadius, i will use linepick+pickable (on a low details shape) to get the collision point and collision normal.

it seems to work well, and fast! 8)

RemiD

#3
finally i have finished the movement, detectcollision, reposition system, using distance3d then linepicks+pickables.  8)


here we see bullets repositionned after a collision has been detected with another entity (cell, virus, bacteria) or with a wall of the pipe, and the last picked normal (useful to emit particles with the appropriate orientation, or to calculate a reflection vector for viruses which will rebound on the walls (since they are supposedly not living entities...))

now i am working on AI for bots...

STEVIE G


Derron

Quote from: STEVIE G on March 13, 2021, 14:13:32
Can't see anything? Any screenshots?

Game genre: fantasy

:-p


Seriously: think Remi will come up with screenshot once he is confident enough to show it.


bye
Ron

STEVIE G

He said "here we see" so just assumed there'd be a screenshot.

iWasAdam


RemiD

i have posted 3 screenshots already... (hosted on my server rd-stuff.fr)

you don't see them ?  ^-^

Derron

Quote from: RemiD on March 13, 2021, 16:46:46
i have posted 3 screenshots already... (hosted on my server rd-stuff.fr)

you don't see them ?  ^-^

Some browsers might display them ... I have written about the issue some weeks ago: "mixed content" (forum is HTTPS - your images are HTTP). This is the same reason why I am not able to see your avatar picture.


bye
Ron

RemiD

#10
Quoteforum is HTTPS - your images are HTTP
i see... i thought that the problem was maybe png instead of jpg...

i see the images on my laptop (windows 7), with internet explorer browser, firefox browser, chrome browser, opera browser, epic browser, iron browser

and also i see the images on my smartphone (android), with default (samsung) browser, adblock browser, firefox browser, chrome browser, opera browser...

blinkok


RemiD

#12
i am going to upload a jpg of another screenshot...

here :


this post has 1 image (img /img) hosted on my server
and
1 image attached

3DzForMe

Maybe just attach the images to your post, that should work.
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

blinkok